ecopartner

package
v1.0.49 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package ecopartneriface provides an interface to enable mocking the ECO_PARTNER service client for testing your code.

It is important to note that this interface will have breaking changes when the service model is updated and adds new API operations, paginators, and waiters.

Index

Constants

View Source
const (
	// EnumOfInvitationTypeForCreateInvitationLinkInputEndCustomer is a EnumOfInvitationTypeForCreateInvitationLinkInput enum value
	EnumOfInvitationTypeForCreateInvitationLinkInputEndCustomer = "EndCustomer"

	// EnumOfInvitationTypeForCreateInvitationLinkInputDistributorReseller is a EnumOfInvitationTypeForCreateInvitationLinkInput enum value
	EnumOfInvitationTypeForCreateInvitationLinkInputDistributorReseller = "Distributor-Reseller"
)
View Source
const (
	// EnumOfInvitationTypeForCreateUniqueInvitationLinkInputEndCustomer is a EnumOfInvitationTypeForCreateUniqueInvitationLinkInput enum value
	EnumOfInvitationTypeForCreateUniqueInvitationLinkInputEndCustomer = "EndCustomer"

	// EnumOfInvitationTypeForCreateUniqueInvitationLinkInputDistributorReseller is a EnumOfInvitationTypeForCreateUniqueInvitationLinkInput enum value
	EnumOfInvitationTypeForCreateUniqueInvitationLinkInputDistributorReseller = "Distributor-Reseller"
)
View Source
const (
	// EnumOfCustomerTypeForGetCustomerDetailsByTypeInputEndCustomer is a EnumOfCustomerTypeForGetCustomerDetailsByTypeInput enum value
	EnumOfCustomerTypeForGetCustomerDetailsByTypeInputEndCustomer = "EndCustomer"

	// EnumOfCustomerTypeForGetCustomerDetailsByTypeInputDistributorReseller is a EnumOfCustomerTypeForGetCustomerDetailsByTypeInput enum value
	EnumOfCustomerTypeForGetCustomerDetailsByTypeInputDistributorReseller = "Distributor-Reseller"
)
View Source
const (
	ServiceName = "eco_partner" // Name of service.
	EndpointsID = ServiceName   // ID to lookup a service endpoint with.
	ServiceID   = "eco_partner" // ServiceID is a unique identifer of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckInvitationStatusInput

type CheckInvitationStatusInput struct {

	// Token is a required field
	Token *string `type:"string" json:",omitempty" required:"true"`
	// contains filtered or unexported fields
}

func (CheckInvitationStatusInput) GoString

func (s CheckInvitationStatusInput) GoString() string

GoString returns the string representation

func (*CheckInvitationStatusInput) SetToken

SetToken sets the Token field's value.

func (CheckInvitationStatusInput) String

String returns the string representation

func (*CheckInvitationStatusInput) Validate

func (s *CheckInvitationStatusInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CheckInvitationStatusOutput

type CheckInvitationStatusOutput struct {
	Metadata *response.ResponseMetadata

	ClaimedTime *string `type:"string" json:",omitempty"`

	ClaimedUserUid *int64 `type:"int64" json:",omitempty"`

	CreatedTime *string `type:"string" json:",omitempty"`

	CustomerType *string `type:"string" json:",omitempty"`

	FailureReason *string `type:"string" json:",omitempty"`

	PartnerUid *int64 `type:"int64" json:",omitempty"`

	Status *string `type:"string" json:",omitempty"`

	Token *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (CheckInvitationStatusOutput) GoString

func (s CheckInvitationStatusOutput) GoString() string

GoString returns the string representation

func (*CheckInvitationStatusOutput) SetClaimedTime

SetClaimedTime sets the ClaimedTime field's value.

func (*CheckInvitationStatusOutput) SetClaimedUserUid

SetClaimedUserUid sets the ClaimedUserUid field's value.

func (*CheckInvitationStatusOutput) SetCreatedTime

SetCreatedTime sets the CreatedTime field's value.

func (*CheckInvitationStatusOutput) SetCustomerType

SetCustomerType sets the CustomerType field's value.

func (*CheckInvitationStatusOutput) SetFailureReason

SetFailureReason sets the FailureReason field's value.

func (*CheckInvitationStatusOutput) SetPartnerUid

SetPartnerUid sets the PartnerUid field's value.

func (*CheckInvitationStatusOutput) SetStatus

SetStatus sets the Status field's value.

func (*CheckInvitationStatusOutput) SetToken

SetToken sets the Token field's value.

func (CheckInvitationStatusOutput) String

String returns the string representation

type CreateInvitationLinkInput

type CreateInvitationLinkInput struct {

	// InvitationType is a required field
	InvitationType *string `type:"string" json:",omitempty" required:"true" enum:"EnumOfInvitationTypeForCreateInvitationLinkInput"`

	// RecipientCompany is a required field
	RecipientCompany *string `max:"128" type:"string" json:",omitempty" required:"true"`

	// RecipientEmail is a required field
	RecipientEmail *string `max:"254" type:"string" json:",omitempty" required:"true"`

	// SendEmail is a required field
	SendEmail *bool `type:"boolean" json:",omitempty" required:"true"`
	// contains filtered or unexported fields
}

func (CreateInvitationLinkInput) GoString

func (s CreateInvitationLinkInput) GoString() string

GoString returns the string representation

func (*CreateInvitationLinkInput) SetInvitationType

SetInvitationType sets the InvitationType field's value.

func (*CreateInvitationLinkInput) SetRecipientCompany

func (s *CreateInvitationLinkInput) SetRecipientCompany(v string) *CreateInvitationLinkInput

SetRecipientCompany sets the RecipientCompany field's value.

func (*CreateInvitationLinkInput) SetRecipientEmail

SetRecipientEmail sets the RecipientEmail field's value.

func (*CreateInvitationLinkInput) SetSendEmail

SetSendEmail sets the SendEmail field's value.

func (CreateInvitationLinkInput) String

func (s CreateInvitationLinkInput) String() string

String returns the string representation

func (*CreateInvitationLinkInput) Validate

func (s *CreateInvitationLinkInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateInvitationLinkOutput

type CreateInvitationLinkOutput struct {
	Metadata *response.ResponseMetadata

	Link *string `type:"string" json:",omitempty"`

	Token *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (CreateInvitationLinkOutput) GoString

func (s CreateInvitationLinkOutput) GoString() string

GoString returns the string representation

SetLink sets the Link field's value.

func (*CreateInvitationLinkOutput) SetToken

SetToken sets the Token field's value.

func (CreateInvitationLinkOutput) String

String returns the string representation

type CreateUniqueInvitationLinkInput

type CreateUniqueInvitationLinkInput struct {

	// InvitationType is a required field
	InvitationType *string `type:"string" json:",omitempty" required:"true" enum:"EnumOfInvitationTypeForCreateUniqueInvitationLinkInput"`

	// RecipientCompany is a required field
	RecipientCompany *string `max:"128" type:"string" json:",omitempty" required:"true"`

	// RecipientEmail is a required field
	RecipientEmail *string `max:"254" type:"string" json:",omitempty" required:"true"`

	// SendEmail is a required field
	SendEmail *bool `type:"boolean" json:",omitempty" required:"true"`
	// contains filtered or unexported fields
}

func (CreateUniqueInvitationLinkInput) GoString

GoString returns the string representation

func (*CreateUniqueInvitationLinkInput) SetInvitationType

SetInvitationType sets the InvitationType field's value.

func (*CreateUniqueInvitationLinkInput) SetRecipientCompany

SetRecipientCompany sets the RecipientCompany field's value.

func (*CreateUniqueInvitationLinkInput) SetRecipientEmail

SetRecipientEmail sets the RecipientEmail field's value.

func (*CreateUniqueInvitationLinkInput) SetSendEmail

SetSendEmail sets the SendEmail field's value.

func (CreateUniqueInvitationLinkInput) String

String returns the string representation

func (*CreateUniqueInvitationLinkInput) Validate

func (s *CreateUniqueInvitationLinkInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type CreateUniqueInvitationLinkOutput

type CreateUniqueInvitationLinkOutput struct {
	Metadata *response.ResponseMetadata

	Link *string `type:"string" json:",omitempty"`

	Token *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (CreateUniqueInvitationLinkOutput) GoString

GoString returns the string representation

SetLink sets the Link field's value.

func (*CreateUniqueInvitationLinkOutput) SetToken

SetToken sets the Token field's value.

func (CreateUniqueInvitationLinkOutput) String

String returns the string representation

type CustomerForGetCustomerDetailsByTypeOutput

type CustomerForGetCustomerDetailsByTypeOutput struct {
	AccountType *string `type:"string" json:",omitempty"`

	AccountUsername *string `type:"string" json:",omitempty"`

	AssociationSuccessTime *string `type:"string" json:",omitempty"`

	CustomerAccountVerified *bool `type:"boolean" json:",omitempty"`

	CustomerBd *string `type:"string" json:",omitempty"`

	Email *string `type:"string" json:",omitempty"`

	Mobile *string `type:"string" json:",omitempty"`

	OutstandingAmount *float64 `type:"float" json:",omitempty"`

	ParentOrganizationName *string `type:"string" json:",omitempty"`

	ParentPartnerUid *int64 `type:"int64" json:",omitempty"`

	ParentPartnerUsername *string `type:"string" json:",omitempty"`

	QuotaAllocated *float64 `type:"float" json:",omitempty"`

	QuotaBalance *float64 `type:"float" json:",omitempty"`

	QuotaUnit *string `type:"string" json:",omitempty"`

	RegisterCountryCode *string `type:"string" json:",omitempty"`

	Remark *string `type:"string" json:",omitempty"`

	SuspensionPolicy *string `type:"string" json:",omitempty"`

	Uid *int64 `type:"int64" json:",omitempty"`
	// contains filtered or unexported fields
}

func (CustomerForGetCustomerDetailsByTypeOutput) GoString

GoString returns the string representation

func (*CustomerForGetCustomerDetailsByTypeOutput) SetAccountType

SetAccountType sets the AccountType field's value.

func (*CustomerForGetCustomerDetailsByTypeOutput) SetAccountUsername

SetAccountUsername sets the AccountUsername field's value.

func (*CustomerForGetCustomerDetailsByTypeOutput) SetAssociationSuccessTime

SetAssociationSuccessTime sets the AssociationSuccessTime field's value.

func (*CustomerForGetCustomerDetailsByTypeOutput) SetCustomerAccountVerified

SetCustomerAccountVerified sets the CustomerAccountVerified field's value.

func (*CustomerForGetCustomerDetailsByTypeOutput) SetCustomerBd

SetCustomerBd sets the CustomerBd field's value.

func (*CustomerForGetCustomerDetailsByTypeOutput) SetEmail

SetEmail sets the Email field's value.

func (*CustomerForGetCustomerDetailsByTypeOutput) SetMobile

SetMobile sets the Mobile field's value.

func (*CustomerForGetCustomerDetailsByTypeOutput) SetOutstandingAmount

SetOutstandingAmount sets the OutstandingAmount field's value.

func (*CustomerForGetCustomerDetailsByTypeOutput) SetParentOrganizationName

SetParentOrganizationName sets the ParentOrganizationName field's value.

func (*CustomerForGetCustomerDetailsByTypeOutput) SetParentPartnerUid

SetParentPartnerUid sets the ParentPartnerUid field's value.

func (*CustomerForGetCustomerDetailsByTypeOutput) SetParentPartnerUsername

SetParentPartnerUsername sets the ParentPartnerUsername field's value.

func (*CustomerForGetCustomerDetailsByTypeOutput) SetQuotaAllocated

SetQuotaAllocated sets the QuotaAllocated field's value.

func (*CustomerForGetCustomerDetailsByTypeOutput) SetQuotaBalance

SetQuotaBalance sets the QuotaBalance field's value.

func (*CustomerForGetCustomerDetailsByTypeOutput) SetQuotaUnit

SetQuotaUnit sets the QuotaUnit field's value.

func (*CustomerForGetCustomerDetailsByTypeOutput) SetRegisterCountryCode

SetRegisterCountryCode sets the RegisterCountryCode field's value.

func (*CustomerForGetCustomerDetailsByTypeOutput) SetRemark

SetRemark sets the Remark field's value.

func (*CustomerForGetCustomerDetailsByTypeOutput) SetSuspensionPolicy

SetSuspensionPolicy sets the SuspensionPolicy field's value.

func (*CustomerForGetCustomerDetailsByTypeOutput) SetUid

SetUid sets the Uid field's value.

func (CustomerForGetCustomerDetailsByTypeOutput) String

String returns the string representation

type ECOPARTNER

type ECOPARTNER struct {
	*client.Client
}

ECOPARTNER provides the API operation methods for making requests to ECO_PARTNER. See this package's package overview docs for details on the service.

ECOPARTNER methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

New create int can support ssl or region locate set

func (*ECOPARTNER) CheckInvitationStatus

func (c *ECOPARTNER) CheckInvitationStatus(input *CheckInvitationStatusInput) (*CheckInvitationStatusOutput, error)

CheckInvitationStatus API operation for ECO_PARTNER.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ECO_PARTNER's API operation CheckInvitationStatus for usage and error information.

func (*ECOPARTNER) CheckInvitationStatusCommon

func (c *ECOPARTNER) CheckInvitationStatusCommon(input *map[string]interface{}) (*map[string]interface{}, error)

CheckInvitationStatusCommon API operation for ECO_PARTNER.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ECO_PARTNER's API operation CheckInvitationStatusCommon for usage and error information.

func (*ECOPARTNER) CheckInvitationStatusCommonRequest

func (c *ECOPARTNER) CheckInvitationStatusCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

CheckInvitationStatusCommonRequest generates a "byteplus/request.Request" representing the client's request for the CheckInvitationStatusCommon operation. The "output" return value will be populated with the CheckInvitationStatusCommon request's response once the request completes successfully.

Use "Send" method on the returned CheckInvitationStatusCommon Request to send the API call to the service. the "output" return value is not valid until after CheckInvitationStatusCommon Send returns without error.

See CheckInvitationStatusCommon for more information on using the CheckInvitationStatusCommon API call, and error handling.

// Example sending a request using the CheckInvitationStatusCommonRequest method.
req, resp := client.CheckInvitationStatusCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECOPARTNER) CheckInvitationStatusCommonWithContext

func (c *ECOPARTNER) CheckInvitationStatusCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

CheckInvitationStatusCommonWithContext is the same as CheckInvitationStatusCommon with the addition of the ability to pass a context and additional request options.

See CheckInvitationStatusCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECOPARTNER) CheckInvitationStatusRequest

func (c *ECOPARTNER) CheckInvitationStatusRequest(input *CheckInvitationStatusInput) (req *request.Request, output *CheckInvitationStatusOutput)

CheckInvitationStatusRequest generates a "byteplus/request.Request" representing the client's request for the CheckInvitationStatus operation. The "output" return value will be populated with the CheckInvitationStatusCommon request's response once the request completes successfully.

Use "Send" method on the returned CheckInvitationStatusCommon Request to send the API call to the service. the "output" return value is not valid until after CheckInvitationStatusCommon Send returns without error.

See CheckInvitationStatus for more information on using the CheckInvitationStatus API call, and error handling.

// Example sending a request using the CheckInvitationStatusRequest method.
req, resp := client.CheckInvitationStatusRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECOPARTNER) CheckInvitationStatusWithContext

func (c *ECOPARTNER) CheckInvitationStatusWithContext(ctx byteplus.Context, input *CheckInvitationStatusInput, opts ...request.Option) (*CheckInvitationStatusOutput, error)

CheckInvitationStatusWithContext is the same as CheckInvitationStatus with the addition of the ability to pass a context and additional request options.

See CheckInvitationStatus for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (c *ECOPARTNER) CreateInvitationLink(input *CreateInvitationLinkInput) (*CreateInvitationLinkOutput, error)

CreateInvitationLink API operation for ECO_PARTNER.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ECO_PARTNER's API operation CreateInvitationLink for usage and error information.

func (*ECOPARTNER) CreateInvitationLinkCommon

func (c *ECOPARTNER) CreateInvitationLinkCommon(input *map[string]interface{}) (*map[string]interface{}, error)

CreateInvitationLinkCommon API operation for ECO_PARTNER.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ECO_PARTNER's API operation CreateInvitationLinkCommon for usage and error information.

func (*ECOPARTNER) CreateInvitationLinkCommonRequest

func (c *ECOPARTNER) CreateInvitationLinkCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

CreateInvitationLinkCommonRequest generates a "byteplus/request.Request" representing the client's request for the CreateInvitationLinkCommon operation. The "output" return value will be populated with the CreateInvitationLinkCommon request's response once the request completes successfully.

Use "Send" method on the returned CreateInvitationLinkCommon Request to send the API call to the service. the "output" return value is not valid until after CreateInvitationLinkCommon Send returns without error.

See CreateInvitationLinkCommon for more information on using the CreateInvitationLinkCommon API call, and error handling.

// Example sending a request using the CreateInvitationLinkCommonRequest method.
req, resp := client.CreateInvitationLinkCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECOPARTNER) CreateInvitationLinkCommonWithContext

func (c *ECOPARTNER) CreateInvitationLinkCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

CreateInvitationLinkCommonWithContext is the same as CreateInvitationLinkCommon with the addition of the ability to pass a context and additional request options.

See CreateInvitationLinkCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECOPARTNER) CreateInvitationLinkRequest

func (c *ECOPARTNER) CreateInvitationLinkRequest(input *CreateInvitationLinkInput) (req *request.Request, output *CreateInvitationLinkOutput)

CreateInvitationLinkRequest generates a "byteplus/request.Request" representing the client's request for the CreateInvitationLink operation. The "output" return value will be populated with the CreateInvitationLinkCommon request's response once the request completes successfully.

Use "Send" method on the returned CreateInvitationLinkCommon Request to send the API call to the service. the "output" return value is not valid until after CreateInvitationLinkCommon Send returns without error.

See CreateInvitationLink for more information on using the CreateInvitationLink API call, and error handling.

// Example sending a request using the CreateInvitationLinkRequest method.
req, resp := client.CreateInvitationLinkRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECOPARTNER) CreateInvitationLinkWithContext

func (c *ECOPARTNER) CreateInvitationLinkWithContext(ctx byteplus.Context, input *CreateInvitationLinkInput, opts ...request.Option) (*CreateInvitationLinkOutput, error)

CreateInvitationLinkWithContext is the same as CreateInvitationLink with the addition of the ability to pass a context and additional request options.

See CreateInvitationLink for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (c *ECOPARTNER) CreateUniqueInvitationLink(input *CreateUniqueInvitationLinkInput) (*CreateUniqueInvitationLinkOutput, error)

CreateUniqueInvitationLink API operation for ECO_PARTNER.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ECO_PARTNER's API operation CreateUniqueInvitationLink for usage and error information.

func (*ECOPARTNER) CreateUniqueInvitationLinkCommon

func (c *ECOPARTNER) CreateUniqueInvitationLinkCommon(input *map[string]interface{}) (*map[string]interface{}, error)

CreateUniqueInvitationLinkCommon API operation for ECO_PARTNER.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ECO_PARTNER's API operation CreateUniqueInvitationLinkCommon for usage and error information.

func (*ECOPARTNER) CreateUniqueInvitationLinkCommonRequest

func (c *ECOPARTNER) CreateUniqueInvitationLinkCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

CreateUniqueInvitationLinkCommonRequest generates a "byteplus/request.Request" representing the client's request for the CreateUniqueInvitationLinkCommon operation. The "output" return value will be populated with the CreateUniqueInvitationLinkCommon request's response once the request completes successfully.

Use "Send" method on the returned CreateUniqueInvitationLinkCommon Request to send the API call to the service. the "output" return value is not valid until after CreateUniqueInvitationLinkCommon Send returns without error.

See CreateUniqueInvitationLinkCommon for more information on using the CreateUniqueInvitationLinkCommon API call, and error handling.

// Example sending a request using the CreateUniqueInvitationLinkCommonRequest method.
req, resp := client.CreateUniqueInvitationLinkCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECOPARTNER) CreateUniqueInvitationLinkCommonWithContext

func (c *ECOPARTNER) CreateUniqueInvitationLinkCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

CreateUniqueInvitationLinkCommonWithContext is the same as CreateUniqueInvitationLinkCommon with the addition of the ability to pass a context and additional request options.

See CreateUniqueInvitationLinkCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECOPARTNER) CreateUniqueInvitationLinkRequest

func (c *ECOPARTNER) CreateUniqueInvitationLinkRequest(input *CreateUniqueInvitationLinkInput) (req *request.Request, output *CreateUniqueInvitationLinkOutput)

CreateUniqueInvitationLinkRequest generates a "byteplus/request.Request" representing the client's request for the CreateUniqueInvitationLink operation. The "output" return value will be populated with the CreateUniqueInvitationLinkCommon request's response once the request completes successfully.

Use "Send" method on the returned CreateUniqueInvitationLinkCommon Request to send the API call to the service. the "output" return value is not valid until after CreateUniqueInvitationLinkCommon Send returns without error.

See CreateUniqueInvitationLink for more information on using the CreateUniqueInvitationLink API call, and error handling.

// Example sending a request using the CreateUniqueInvitationLinkRequest method.
req, resp := client.CreateUniqueInvitationLinkRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECOPARTNER) CreateUniqueInvitationLinkWithContext

func (c *ECOPARTNER) CreateUniqueInvitationLinkWithContext(ctx byteplus.Context, input *CreateUniqueInvitationLinkInput, opts ...request.Option) (*CreateUniqueInvitationLinkOutput, error)

CreateUniqueInvitationLinkWithContext is the same as CreateUniqueInvitationLink with the addition of the ability to pass a context and additional request options.

See CreateUniqueInvitationLink for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECOPARTNER) GetCustomerDetailsByType

func (c *ECOPARTNER) GetCustomerDetailsByType(input *GetCustomerDetailsByTypeInput) (*GetCustomerDetailsByTypeOutput, error)

GetCustomerDetailsByType API operation for ECO_PARTNER.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ECO_PARTNER's API operation GetCustomerDetailsByType for usage and error information.

func (*ECOPARTNER) GetCustomerDetailsByTypeCommon

func (c *ECOPARTNER) GetCustomerDetailsByTypeCommon(input *map[string]interface{}) (*map[string]interface{}, error)

GetCustomerDetailsByTypeCommon API operation for ECO_PARTNER.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ECO_PARTNER's API operation GetCustomerDetailsByTypeCommon for usage and error information.

func (*ECOPARTNER) GetCustomerDetailsByTypeCommonRequest

func (c *ECOPARTNER) GetCustomerDetailsByTypeCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

GetCustomerDetailsByTypeCommonRequest generates a "byteplus/request.Request" representing the client's request for the GetCustomerDetailsByTypeCommon operation. The "output" return value will be populated with the GetCustomerDetailsByTypeCommon request's response once the request completes successfully.

Use "Send" method on the returned GetCustomerDetailsByTypeCommon Request to send the API call to the service. the "output" return value is not valid until after GetCustomerDetailsByTypeCommon Send returns without error.

See GetCustomerDetailsByTypeCommon for more information on using the GetCustomerDetailsByTypeCommon API call, and error handling.

// Example sending a request using the GetCustomerDetailsByTypeCommonRequest method.
req, resp := client.GetCustomerDetailsByTypeCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECOPARTNER) GetCustomerDetailsByTypeCommonWithContext

func (c *ECOPARTNER) GetCustomerDetailsByTypeCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

GetCustomerDetailsByTypeCommonWithContext is the same as GetCustomerDetailsByTypeCommon with the addition of the ability to pass a context and additional request options.

See GetCustomerDetailsByTypeCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECOPARTNER) GetCustomerDetailsByTypeRequest

func (c *ECOPARTNER) GetCustomerDetailsByTypeRequest(input *GetCustomerDetailsByTypeInput) (req *request.Request, output *GetCustomerDetailsByTypeOutput)

GetCustomerDetailsByTypeRequest generates a "byteplus/request.Request" representing the client's request for the GetCustomerDetailsByType operation. The "output" return value will be populated with the GetCustomerDetailsByTypeCommon request's response once the request completes successfully.

Use "Send" method on the returned GetCustomerDetailsByTypeCommon Request to send the API call to the service. the "output" return value is not valid until after GetCustomerDetailsByTypeCommon Send returns without error.

See GetCustomerDetailsByType for more information on using the GetCustomerDetailsByType API call, and error handling.

// Example sending a request using the GetCustomerDetailsByTypeRequest method.
req, resp := client.GetCustomerDetailsByTypeRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECOPARTNER) GetCustomerDetailsByTypeWithContext

func (c *ECOPARTNER) GetCustomerDetailsByTypeWithContext(ctx byteplus.Context, input *GetCustomerDetailsByTypeInput, opts ...request.Option) (*GetCustomerDetailsByTypeOutput, error)

GetCustomerDetailsByTypeWithContext is the same as GetCustomerDetailsByType with the addition of the ability to pass a context and additional request options.

See GetCustomerDetailsByType for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECOPARTNER) GetCustomerDetailsByUID

func (c *ECOPARTNER) GetCustomerDetailsByUID(input *GetCustomerDetailsByUIDInput) (*GetCustomerDetailsByUIDOutput, error)

GetCustomerDetailsByUID API operation for ECO_PARTNER.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ECO_PARTNER's API operation GetCustomerDetailsByUID for usage and error information.

func (*ECOPARTNER) GetCustomerDetailsByUIDCommon

func (c *ECOPARTNER) GetCustomerDetailsByUIDCommon(input *map[string]interface{}) (*map[string]interface{}, error)

GetCustomerDetailsByUIDCommon API operation for ECO_PARTNER.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ECO_PARTNER's API operation GetCustomerDetailsByUIDCommon for usage and error information.

func (*ECOPARTNER) GetCustomerDetailsByUIDCommonRequest

func (c *ECOPARTNER) GetCustomerDetailsByUIDCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

GetCustomerDetailsByUIDCommonRequest generates a "byteplus/request.Request" representing the client's request for the GetCustomerDetailsByUIDCommon operation. The "output" return value will be populated with the GetCustomerDetailsByUIDCommon request's response once the request completes successfully.

Use "Send" method on the returned GetCustomerDetailsByUIDCommon Request to send the API call to the service. the "output" return value is not valid until after GetCustomerDetailsByUIDCommon Send returns without error.

See GetCustomerDetailsByUIDCommon for more information on using the GetCustomerDetailsByUIDCommon API call, and error handling.

// Example sending a request using the GetCustomerDetailsByUIDCommonRequest method.
req, resp := client.GetCustomerDetailsByUIDCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECOPARTNER) GetCustomerDetailsByUIDCommonWithContext

func (c *ECOPARTNER) GetCustomerDetailsByUIDCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

GetCustomerDetailsByUIDCommonWithContext is the same as GetCustomerDetailsByUIDCommon with the addition of the ability to pass a context and additional request options.

See GetCustomerDetailsByUIDCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECOPARTNER) GetCustomerDetailsByUIDRequest

func (c *ECOPARTNER) GetCustomerDetailsByUIDRequest(input *GetCustomerDetailsByUIDInput) (req *request.Request, output *GetCustomerDetailsByUIDOutput)

GetCustomerDetailsByUIDRequest generates a "byteplus/request.Request" representing the client's request for the GetCustomerDetailsByUID operation. The "output" return value will be populated with the GetCustomerDetailsByUIDCommon request's response once the request completes successfully.

Use "Send" method on the returned GetCustomerDetailsByUIDCommon Request to send the API call to the service. the "output" return value is not valid until after GetCustomerDetailsByUIDCommon Send returns without error.

See GetCustomerDetailsByUID for more information on using the GetCustomerDetailsByUID API call, and error handling.

// Example sending a request using the GetCustomerDetailsByUIDRequest method.
req, resp := client.GetCustomerDetailsByUIDRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECOPARTNER) GetCustomerDetailsByUIDWithContext

func (c *ECOPARTNER) GetCustomerDetailsByUIDWithContext(ctx byteplus.Context, input *GetCustomerDetailsByUIDInput, opts ...request.Option) (*GetCustomerDetailsByUIDOutput, error)

GetCustomerDetailsByUIDWithContext is the same as GetCustomerDetailsByUID with the addition of the ability to pass a context and additional request options.

See GetCustomerDetailsByUID for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECOPARTNER) GetQuotaInformation

func (c *ECOPARTNER) GetQuotaInformation(input *GetQuotaInformationInput) (*GetQuotaInformationOutput, error)

GetQuotaInformation API operation for ECO_PARTNER.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ECO_PARTNER's API operation GetQuotaInformation for usage and error information.

func (*ECOPARTNER) GetQuotaInformationCommon

func (c *ECOPARTNER) GetQuotaInformationCommon(input *map[string]interface{}) (*map[string]interface{}, error)

GetQuotaInformationCommon API operation for ECO_PARTNER.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ECO_PARTNER's API operation GetQuotaInformationCommon for usage and error information.

func (*ECOPARTNER) GetQuotaInformationCommonRequest

func (c *ECOPARTNER) GetQuotaInformationCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

GetQuotaInformationCommonRequest generates a "byteplus/request.Request" representing the client's request for the GetQuotaInformationCommon operation. The "output" return value will be populated with the GetQuotaInformationCommon request's response once the request completes successfully.

Use "Send" method on the returned GetQuotaInformationCommon Request to send the API call to the service. the "output" return value is not valid until after GetQuotaInformationCommon Send returns without error.

See GetQuotaInformationCommon for more information on using the GetQuotaInformationCommon API call, and error handling.

// Example sending a request using the GetQuotaInformationCommonRequest method.
req, resp := client.GetQuotaInformationCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECOPARTNER) GetQuotaInformationCommonWithContext

func (c *ECOPARTNER) GetQuotaInformationCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

GetQuotaInformationCommonWithContext is the same as GetQuotaInformationCommon with the addition of the ability to pass a context and additional request options.

See GetQuotaInformationCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECOPARTNER) GetQuotaInformationRequest

func (c *ECOPARTNER) GetQuotaInformationRequest(input *GetQuotaInformationInput) (req *request.Request, output *GetQuotaInformationOutput)

GetQuotaInformationRequest generates a "byteplus/request.Request" representing the client's request for the GetQuotaInformation operation. The "output" return value will be populated with the GetQuotaInformationCommon request's response once the request completes successfully.

Use "Send" method on the returned GetQuotaInformationCommon Request to send the API call to the service. the "output" return value is not valid until after GetQuotaInformationCommon Send returns without error.

See GetQuotaInformation for more information on using the GetQuotaInformation API call, and error handling.

// Example sending a request using the GetQuotaInformationRequest method.
req, resp := client.GetQuotaInformationRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECOPARTNER) GetQuotaInformationWithContext

func (c *ECOPARTNER) GetQuotaInformationWithContext(ctx byteplus.Context, input *GetQuotaInformationInput, opts ...request.Option) (*GetQuotaInformationOutput, error)

GetQuotaInformationWithContext is the same as GetQuotaInformation with the addition of the ability to pass a context and additional request options.

See GetQuotaInformation for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECOPARTNER) ModifyQuota

func (c *ECOPARTNER) ModifyQuota(input *ModifyQuotaInput) (*ModifyQuotaOutput, error)

ModifyQuota API operation for ECO_PARTNER.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ECO_PARTNER's API operation ModifyQuota for usage and error information.

func (*ECOPARTNER) ModifyQuotaCommon

func (c *ECOPARTNER) ModifyQuotaCommon(input *map[string]interface{}) (*map[string]interface{}, error)

ModifyQuotaCommon API operation for ECO_PARTNER.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ECO_PARTNER's API operation ModifyQuotaCommon for usage and error information.

func (*ECOPARTNER) ModifyQuotaCommonRequest

func (c *ECOPARTNER) ModifyQuotaCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

ModifyQuotaCommonRequest generates a "byteplus/request.Request" representing the client's request for the ModifyQuotaCommon operation. The "output" return value will be populated with the ModifyQuotaCommon request's response once the request completes successfully.

Use "Send" method on the returned ModifyQuotaCommon Request to send the API call to the service. the "output" return value is not valid until after ModifyQuotaCommon Send returns without error.

See ModifyQuotaCommon for more information on using the ModifyQuotaCommon API call, and error handling.

// Example sending a request using the ModifyQuotaCommonRequest method.
req, resp := client.ModifyQuotaCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECOPARTNER) ModifyQuotaCommonWithContext

func (c *ECOPARTNER) ModifyQuotaCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

ModifyQuotaCommonWithContext is the same as ModifyQuotaCommon with the addition of the ability to pass a context and additional request options.

See ModifyQuotaCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECOPARTNER) ModifyQuotaRequest

func (c *ECOPARTNER) ModifyQuotaRequest(input *ModifyQuotaInput) (req *request.Request, output *ModifyQuotaOutput)

ModifyQuotaRequest generates a "byteplus/request.Request" representing the client's request for the ModifyQuota operation. The "output" return value will be populated with the ModifyQuotaCommon request's response once the request completes successfully.

Use "Send" method on the returned ModifyQuotaCommon Request to send the API call to the service. the "output" return value is not valid until after ModifyQuotaCommon Send returns without error.

See ModifyQuota for more information on using the ModifyQuota API call, and error handling.

// Example sending a request using the ModifyQuotaRequest method.
req, resp := client.ModifyQuotaRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECOPARTNER) ModifyQuotaWithContext

func (c *ECOPARTNER) ModifyQuotaWithContext(ctx byteplus.Context, input *ModifyQuotaInput, opts ...request.Option) (*ModifyQuotaOutput, error)

ModifyQuotaWithContext is the same as ModifyQuota with the addition of the ability to pass a context and additional request options.

See ModifyQuota for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECOPARTNER) SettleQuotaPayment

func (c *ECOPARTNER) SettleQuotaPayment(input *SettleQuotaPaymentInput) (*SettleQuotaPaymentOutput, error)

SettleQuotaPayment API operation for ECO_PARTNER.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ECO_PARTNER's API operation SettleQuotaPayment for usage and error information.

func (*ECOPARTNER) SettleQuotaPaymentCommon

func (c *ECOPARTNER) SettleQuotaPaymentCommon(input *map[string]interface{}) (*map[string]interface{}, error)

SettleQuotaPaymentCommon API operation for ECO_PARTNER.

Returns bytepluserr.Error for service API and SDK errors. Use runtime type assertions with bytepluserr.Error's Code and Message methods to get detailed information about the error.

See the BYTEPLUS API reference guide for ECO_PARTNER's API operation SettleQuotaPaymentCommon for usage and error information.

func (*ECOPARTNER) SettleQuotaPaymentCommonRequest

func (c *ECOPARTNER) SettleQuotaPaymentCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

SettleQuotaPaymentCommonRequest generates a "byteplus/request.Request" representing the client's request for the SettleQuotaPaymentCommon operation. The "output" return value will be populated with the SettleQuotaPaymentCommon request's response once the request completes successfully.

Use "Send" method on the returned SettleQuotaPaymentCommon Request to send the API call to the service. the "output" return value is not valid until after SettleQuotaPaymentCommon Send returns without error.

See SettleQuotaPaymentCommon for more information on using the SettleQuotaPaymentCommon API call, and error handling.

// Example sending a request using the SettleQuotaPaymentCommonRequest method.
req, resp := client.SettleQuotaPaymentCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECOPARTNER) SettleQuotaPaymentCommonWithContext

func (c *ECOPARTNER) SettleQuotaPaymentCommonWithContext(ctx byteplus.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

SettleQuotaPaymentCommonWithContext is the same as SettleQuotaPaymentCommon with the addition of the ability to pass a context and additional request options.

See SettleQuotaPaymentCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*ECOPARTNER) SettleQuotaPaymentRequest

func (c *ECOPARTNER) SettleQuotaPaymentRequest(input *SettleQuotaPaymentInput) (req *request.Request, output *SettleQuotaPaymentOutput)

SettleQuotaPaymentRequest generates a "byteplus/request.Request" representing the client's request for the SettleQuotaPayment operation. The "output" return value will be populated with the SettleQuotaPaymentCommon request's response once the request completes successfully.

Use "Send" method on the returned SettleQuotaPaymentCommon Request to send the API call to the service. the "output" return value is not valid until after SettleQuotaPaymentCommon Send returns without error.

See SettleQuotaPayment for more information on using the SettleQuotaPayment API call, and error handling.

// Example sending a request using the SettleQuotaPaymentRequest method.
req, resp := client.SettleQuotaPaymentRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*ECOPARTNER) SettleQuotaPaymentWithContext

func (c *ECOPARTNER) SettleQuotaPaymentWithContext(ctx byteplus.Context, input *SettleQuotaPaymentInput, opts ...request.Option) (*SettleQuotaPaymentOutput, error)

SettleQuotaPaymentWithContext is the same as SettleQuotaPayment with the addition of the ability to pass a context and additional request options.

See SettleQuotaPayment for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type ECOPARTNERAPI

type ECOPARTNERAPI interface {
	CheckInvitationStatusCommon(*map[string]interface{}) (*map[string]interface{}, error)
	CheckInvitationStatusCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	CheckInvitationStatusCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	CheckInvitationStatus(*CheckInvitationStatusInput) (*CheckInvitationStatusOutput, error)
	CheckInvitationStatusWithContext(byteplus.Context, *CheckInvitationStatusInput, ...request.Option) (*CheckInvitationStatusOutput, error)
	CheckInvitationStatusRequest(*CheckInvitationStatusInput) (*request.Request, *CheckInvitationStatusOutput)

	CreateInvitationLinkCommon(*map[string]interface{}) (*map[string]interface{}, error)
	CreateInvitationLinkCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	CreateInvitationLinkCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	CreateInvitationLink(*CreateInvitationLinkInput) (*CreateInvitationLinkOutput, error)
	CreateInvitationLinkWithContext(byteplus.Context, *CreateInvitationLinkInput, ...request.Option) (*CreateInvitationLinkOutput, error)
	CreateInvitationLinkRequest(*CreateInvitationLinkInput) (*request.Request, *CreateInvitationLinkOutput)

	CreateUniqueInvitationLinkCommon(*map[string]interface{}) (*map[string]interface{}, error)
	CreateUniqueInvitationLinkCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	CreateUniqueInvitationLinkCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	CreateUniqueInvitationLink(*CreateUniqueInvitationLinkInput) (*CreateUniqueInvitationLinkOutput, error)
	CreateUniqueInvitationLinkWithContext(byteplus.Context, *CreateUniqueInvitationLinkInput, ...request.Option) (*CreateUniqueInvitationLinkOutput, error)
	CreateUniqueInvitationLinkRequest(*CreateUniqueInvitationLinkInput) (*request.Request, *CreateUniqueInvitationLinkOutput)

	GetCustomerDetailsByTypeCommon(*map[string]interface{}) (*map[string]interface{}, error)
	GetCustomerDetailsByTypeCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	GetCustomerDetailsByTypeCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	GetCustomerDetailsByType(*GetCustomerDetailsByTypeInput) (*GetCustomerDetailsByTypeOutput, error)
	GetCustomerDetailsByTypeWithContext(byteplus.Context, *GetCustomerDetailsByTypeInput, ...request.Option) (*GetCustomerDetailsByTypeOutput, error)
	GetCustomerDetailsByTypeRequest(*GetCustomerDetailsByTypeInput) (*request.Request, *GetCustomerDetailsByTypeOutput)

	GetCustomerDetailsByUIDCommon(*map[string]interface{}) (*map[string]interface{}, error)
	GetCustomerDetailsByUIDCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	GetCustomerDetailsByUIDCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	GetCustomerDetailsByUID(*GetCustomerDetailsByUIDInput) (*GetCustomerDetailsByUIDOutput, error)
	GetCustomerDetailsByUIDWithContext(byteplus.Context, *GetCustomerDetailsByUIDInput, ...request.Option) (*GetCustomerDetailsByUIDOutput, error)
	GetCustomerDetailsByUIDRequest(*GetCustomerDetailsByUIDInput) (*request.Request, *GetCustomerDetailsByUIDOutput)

	GetQuotaInformationCommon(*map[string]interface{}) (*map[string]interface{}, error)
	GetQuotaInformationCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	GetQuotaInformationCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	GetQuotaInformation(*GetQuotaInformationInput) (*GetQuotaInformationOutput, error)
	GetQuotaInformationWithContext(byteplus.Context, *GetQuotaInformationInput, ...request.Option) (*GetQuotaInformationOutput, error)
	GetQuotaInformationRequest(*GetQuotaInformationInput) (*request.Request, *GetQuotaInformationOutput)

	ModifyQuotaCommon(*map[string]interface{}) (*map[string]interface{}, error)
	ModifyQuotaCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	ModifyQuotaCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	ModifyQuota(*ModifyQuotaInput) (*ModifyQuotaOutput, error)
	ModifyQuotaWithContext(byteplus.Context, *ModifyQuotaInput, ...request.Option) (*ModifyQuotaOutput, error)
	ModifyQuotaRequest(*ModifyQuotaInput) (*request.Request, *ModifyQuotaOutput)

	SettleQuotaPaymentCommon(*map[string]interface{}) (*map[string]interface{}, error)
	SettleQuotaPaymentCommonWithContext(byteplus.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	SettleQuotaPaymentCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	SettleQuotaPayment(*SettleQuotaPaymentInput) (*SettleQuotaPaymentOutput, error)
	SettleQuotaPaymentWithContext(byteplus.Context, *SettleQuotaPaymentInput, ...request.Option) (*SettleQuotaPaymentOutput, error)
	SettleQuotaPaymentRequest(*SettleQuotaPaymentInput) (*request.Request, *SettleQuotaPaymentOutput)
}

ECOPARTNERAPI provides an interface to enable mocking the ecopartner.ECOPARTNER service client's API operation,

// byteplus sdk func uses an SDK service client to make a request to
// ECO_PARTNER.
func myFunc(svc ECOPARTNERAPI) bool {
    // Make svc.CheckInvitationStatus request
}

func main() {
    sess := session.New()
    svc := ecopartner.New(sess)

    myFunc(svc)
}

type GetCustomerDetailsByTypeInput

type GetCustomerDetailsByTypeInput struct {
	CustomerType *string `max:"50" type:"string" json:",omitempty" enum:"EnumOfCustomerTypeForGetCustomerDetailsByTypeInput"`
	// contains filtered or unexported fields
}

func (GetCustomerDetailsByTypeInput) GoString

GoString returns the string representation

func (*GetCustomerDetailsByTypeInput) SetCustomerType

SetCustomerType sets the CustomerType field's value.

func (GetCustomerDetailsByTypeInput) String

String returns the string representation

func (*GetCustomerDetailsByTypeInput) Validate added in v1.0.45

func (s *GetCustomerDetailsByTypeInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetCustomerDetailsByTypeOutput

type GetCustomerDetailsByTypeOutput struct {
	Metadata *response.ResponseMetadata

	Customers []*CustomerForGetCustomerDetailsByTypeOutput `type:"list" json:",omitempty"`
	// contains filtered or unexported fields
}

func (GetCustomerDetailsByTypeOutput) GoString

GoString returns the string representation

func (*GetCustomerDetailsByTypeOutput) SetCustomers

SetCustomers sets the Customers field's value.

func (GetCustomerDetailsByTypeOutput) String

String returns the string representation

type GetCustomerDetailsByUIDInput

type GetCustomerDetailsByUIDInput struct {

	// Uid is a required field
	Uid *int64 `type:"int64" json:",omitempty" required:"true"`
	// contains filtered or unexported fields
}

func (GetCustomerDetailsByUIDInput) GoString

func (s GetCustomerDetailsByUIDInput) GoString() string

GoString returns the string representation

func (*GetCustomerDetailsByUIDInput) SetUid

SetUid sets the Uid field's value.

func (GetCustomerDetailsByUIDInput) String

String returns the string representation

func (*GetCustomerDetailsByUIDInput) Validate

func (s *GetCustomerDetailsByUIDInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetCustomerDetailsByUIDOutput

type GetCustomerDetailsByUIDOutput struct {
	Metadata *response.ResponseMetadata

	AccountType *string `type:"string" json:",omitempty"`

	AccountUsername *string `type:"string" json:",omitempty"`

	AssociationSuccessTime *string `type:"string" json:",omitempty"`

	CustomerAccountVerified *bool `type:"boolean" json:",omitempty"`

	CustomerBd *string `type:"string" json:",omitempty"`

	Email *string `type:"string" json:",omitempty"`

	Mobile *string `type:"string" json:",omitempty"`

	OutstandingAmount *float64 `type:"float" json:",omitempty"`

	ParentOrganizationName *string `type:"string" json:",omitempty"`

	ParentPartnerUid *int64 `type:"int64" json:",omitempty"`

	ParentPartnerUsername *string `type:"string" json:",omitempty"`

	QuotaAllocated *float64 `type:"float" json:",omitempty"`

	QuotaBalance *float64 `type:"float" json:",omitempty"`

	QuotaUnit *string `type:"string" json:",omitempty"`

	RegisterCountryCode *string `type:"string" json:",omitempty"`

	Remark *string `type:"string" json:",omitempty"`

	SuspensionPolicy *string `type:"string" json:",omitempty"`

	Uid *int64 `type:"int64" json:",omitempty"`
	// contains filtered or unexported fields
}

func (GetCustomerDetailsByUIDOutput) GoString

GoString returns the string representation

func (*GetCustomerDetailsByUIDOutput) SetAccountType

SetAccountType sets the AccountType field's value.

func (*GetCustomerDetailsByUIDOutput) SetAccountUsername

SetAccountUsername sets the AccountUsername field's value.

func (*GetCustomerDetailsByUIDOutput) SetAssociationSuccessTime

func (s *GetCustomerDetailsByUIDOutput) SetAssociationSuccessTime(v string) *GetCustomerDetailsByUIDOutput

SetAssociationSuccessTime sets the AssociationSuccessTime field's value.

func (*GetCustomerDetailsByUIDOutput) SetCustomerAccountVerified

func (s *GetCustomerDetailsByUIDOutput) SetCustomerAccountVerified(v bool) *GetCustomerDetailsByUIDOutput

SetCustomerAccountVerified sets the CustomerAccountVerified field's value.

func (*GetCustomerDetailsByUIDOutput) SetCustomerBd

SetCustomerBd sets the CustomerBd field's value.

func (*GetCustomerDetailsByUIDOutput) SetEmail

SetEmail sets the Email field's value.

func (*GetCustomerDetailsByUIDOutput) SetMobile

SetMobile sets the Mobile field's value.

func (*GetCustomerDetailsByUIDOutput) SetOutstandingAmount

SetOutstandingAmount sets the OutstandingAmount field's value.

func (*GetCustomerDetailsByUIDOutput) SetParentOrganizationName

func (s *GetCustomerDetailsByUIDOutput) SetParentOrganizationName(v string) *GetCustomerDetailsByUIDOutput

SetParentOrganizationName sets the ParentOrganizationName field's value.

func (*GetCustomerDetailsByUIDOutput) SetParentPartnerUid

SetParentPartnerUid sets the ParentPartnerUid field's value.

func (*GetCustomerDetailsByUIDOutput) SetParentPartnerUsername

func (s *GetCustomerDetailsByUIDOutput) SetParentPartnerUsername(v string) *GetCustomerDetailsByUIDOutput

SetParentPartnerUsername sets the ParentPartnerUsername field's value.

func (*GetCustomerDetailsByUIDOutput) SetQuotaAllocated

SetQuotaAllocated sets the QuotaAllocated field's value.

func (*GetCustomerDetailsByUIDOutput) SetQuotaBalance

SetQuotaBalance sets the QuotaBalance field's value.

func (*GetCustomerDetailsByUIDOutput) SetQuotaUnit

SetQuotaUnit sets the QuotaUnit field's value.

func (*GetCustomerDetailsByUIDOutput) SetRegisterCountryCode

SetRegisterCountryCode sets the RegisterCountryCode field's value.

func (*GetCustomerDetailsByUIDOutput) SetRemark

SetRemark sets the Remark field's value.

func (*GetCustomerDetailsByUIDOutput) SetSuspensionPolicy

SetSuspensionPolicy sets the SuspensionPolicy field's value.

func (*GetCustomerDetailsByUIDOutput) SetUid

SetUid sets the Uid field's value.

func (GetCustomerDetailsByUIDOutput) String

String returns the string representation

type GetQuotaInformationInput

type GetQuotaInformationInput struct {

	// Uid is a required field
	Uid *int64 `type:"int64" json:",omitempty" required:"true"`
	// contains filtered or unexported fields
}

func (GetQuotaInformationInput) GoString

func (s GetQuotaInformationInput) GoString() string

GoString returns the string representation

func (*GetQuotaInformationInput) SetUid

SetUid sets the Uid field's value.

func (GetQuotaInformationInput) String

func (s GetQuotaInformationInput) String() string

String returns the string representation

func (*GetQuotaInformationInput) Validate

func (s *GetQuotaInformationInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetQuotaInformationOutput

type GetQuotaInformationOutput struct {
	Metadata *response.ResponseMetadata

	LastUpdatedTime *string `type:"string" json:",omitempty"`

	OutstandingAmount *float64 `type:"float" json:",omitempty"`

	QuotaAllocated *float64 `type:"float" json:",omitempty"`

	QuotaBalance *float64 `type:"float" json:",omitempty"`

	QuotaUnit *string `type:"string" json:",omitempty"`

	Uid *int64 `type:"int64" json:",omitempty"`
	// contains filtered or unexported fields
}

func (GetQuotaInformationOutput) GoString

func (s GetQuotaInformationOutput) GoString() string

GoString returns the string representation

func (*GetQuotaInformationOutput) SetLastUpdatedTime

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*GetQuotaInformationOutput) SetOutstandingAmount

func (s *GetQuotaInformationOutput) SetOutstandingAmount(v float64) *GetQuotaInformationOutput

SetOutstandingAmount sets the OutstandingAmount field's value.

func (*GetQuotaInformationOutput) SetQuotaAllocated

SetQuotaAllocated sets the QuotaAllocated field's value.

func (*GetQuotaInformationOutput) SetQuotaBalance

SetQuotaBalance sets the QuotaBalance field's value.

func (*GetQuotaInformationOutput) SetQuotaUnit

SetQuotaUnit sets the QuotaUnit field's value.

func (*GetQuotaInformationOutput) SetUid

SetUid sets the Uid field's value.

func (GetQuotaInformationOutput) String

func (s GetQuotaInformationOutput) String() string

String returns the string representation

type ModifyQuotaInput

type ModifyQuotaInput struct {

	// QuotaAmount is a required field
	QuotaAmount *float64 `type:"float" json:",omitempty" required:"true"`

	Remarks *string `max:"512" type:"string" json:",omitempty"`

	// Uid is a required field
	Uid *int64 `type:"int64" json:",omitempty" required:"true"`
	// contains filtered or unexported fields
}

func (ModifyQuotaInput) GoString

func (s ModifyQuotaInput) GoString() string

GoString returns the string representation

func (*ModifyQuotaInput) SetQuotaAmount

func (s *ModifyQuotaInput) SetQuotaAmount(v float64) *ModifyQuotaInput

SetQuotaAmount sets the QuotaAmount field's value.

func (*ModifyQuotaInput) SetRemarks

func (s *ModifyQuotaInput) SetRemarks(v string) *ModifyQuotaInput

SetRemarks sets the Remarks field's value.

func (*ModifyQuotaInput) SetUid

func (s *ModifyQuotaInput) SetUid(v int64) *ModifyQuotaInput

SetUid sets the Uid field's value.

func (ModifyQuotaInput) String

func (s ModifyQuotaInput) String() string

String returns the string representation

func (*ModifyQuotaInput) Validate

func (s *ModifyQuotaInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ModifyQuotaOutput

type ModifyQuotaOutput struct {
	Metadata *response.ResponseMetadata

	LastUpdatedTime *string `type:"string" json:",omitempty"`

	OutstandingAmount *float64 `type:"float" json:",omitempty"`

	QuotaAllocatedAfter *float64 `type:"float" json:",omitempty"`

	QuotaAllocatedBefore *float64 `type:"float" json:",omitempty"`

	QuotaBalance *float64 `type:"float" json:",omitempty"`

	QuotaUnit *string `type:"string" json:",omitempty"`

	Uid *int64 `type:"int64" json:",omitempty"`
	// contains filtered or unexported fields
}

func (ModifyQuotaOutput) GoString

func (s ModifyQuotaOutput) GoString() string

GoString returns the string representation

func (*ModifyQuotaOutput) SetLastUpdatedTime

func (s *ModifyQuotaOutput) SetLastUpdatedTime(v string) *ModifyQuotaOutput

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*ModifyQuotaOutput) SetOutstandingAmount

func (s *ModifyQuotaOutput) SetOutstandingAmount(v float64) *ModifyQuotaOutput

SetOutstandingAmount sets the OutstandingAmount field's value.

func (*ModifyQuotaOutput) SetQuotaAllocatedAfter

func (s *ModifyQuotaOutput) SetQuotaAllocatedAfter(v float64) *ModifyQuotaOutput

SetQuotaAllocatedAfter sets the QuotaAllocatedAfter field's value.

func (*ModifyQuotaOutput) SetQuotaAllocatedBefore

func (s *ModifyQuotaOutput) SetQuotaAllocatedBefore(v float64) *ModifyQuotaOutput

SetQuotaAllocatedBefore sets the QuotaAllocatedBefore field's value.

func (*ModifyQuotaOutput) SetQuotaBalance

func (s *ModifyQuotaOutput) SetQuotaBalance(v float64) *ModifyQuotaOutput

SetQuotaBalance sets the QuotaBalance field's value.

func (*ModifyQuotaOutput) SetQuotaUnit

func (s *ModifyQuotaOutput) SetQuotaUnit(v string) *ModifyQuotaOutput

SetQuotaUnit sets the QuotaUnit field's value.

func (*ModifyQuotaOutput) SetUid

SetUid sets the Uid field's value.

func (ModifyQuotaOutput) String

func (s ModifyQuotaOutput) String() string

String returns the string representation

type SettleQuotaPaymentInput

type SettleQuotaPaymentInput struct {
	Remarks *string `max:"256" type:"string" json:",omitempty"`

	// RepaymentAmount is a required field
	RepaymentAmount *float64 `type:"float" json:",omitempty" required:"true"`

	// Uid is a required field
	Uid *int64 `type:"int64" json:",omitempty" required:"true"`
	// contains filtered or unexported fields
}

func (SettleQuotaPaymentInput) GoString

func (s SettleQuotaPaymentInput) GoString() string

GoString returns the string representation

func (*SettleQuotaPaymentInput) SetRemarks

SetRemarks sets the Remarks field's value.

func (*SettleQuotaPaymentInput) SetRepaymentAmount

func (s *SettleQuotaPaymentInput) SetRepaymentAmount(v float64) *SettleQuotaPaymentInput

SetRepaymentAmount sets the RepaymentAmount field's value.

func (*SettleQuotaPaymentInput) SetUid

SetUid sets the Uid field's value.

func (SettleQuotaPaymentInput) String

func (s SettleQuotaPaymentInput) String() string

String returns the string representation

func (*SettleQuotaPaymentInput) Validate

func (s *SettleQuotaPaymentInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type SettleQuotaPaymentOutput

type SettleQuotaPaymentOutput struct {
	Metadata *response.ResponseMetadata

	LastUpdatedTime *string `type:"string" json:",omitempty"`

	OutstandingAmountAfter *float64 `type:"float" json:",omitempty"`

	OutstandingAmountBefore *float64 `type:"float" json:",omitempty"`

	QuotaAllocated *float64 `type:"float" json:",omitempty"`

	QuotaBalance *float64 `type:"float" json:",omitempty"`

	QuotaUnit *string `type:"string" json:",omitempty"`

	RepaymentAmount *float64 `type:"float" json:",omitempty"`

	Success *bool `type:"boolean" json:",omitempty"`

	Uid *int64 `type:"int64" json:",omitempty"`
	// contains filtered or unexported fields
}

func (SettleQuotaPaymentOutput) GoString

func (s SettleQuotaPaymentOutput) GoString() string

GoString returns the string representation

func (*SettleQuotaPaymentOutput) SetLastUpdatedTime

func (s *SettleQuotaPaymentOutput) SetLastUpdatedTime(v string) *SettleQuotaPaymentOutput

SetLastUpdatedTime sets the LastUpdatedTime field's value.

func (*SettleQuotaPaymentOutput) SetOutstandingAmountAfter

func (s *SettleQuotaPaymentOutput) SetOutstandingAmountAfter(v float64) *SettleQuotaPaymentOutput

SetOutstandingAmountAfter sets the OutstandingAmountAfter field's value.

func (*SettleQuotaPaymentOutput) SetOutstandingAmountBefore

func (s *SettleQuotaPaymentOutput) SetOutstandingAmountBefore(v float64) *SettleQuotaPaymentOutput

SetOutstandingAmountBefore sets the OutstandingAmountBefore field's value.

func (*SettleQuotaPaymentOutput) SetQuotaAllocated

SetQuotaAllocated sets the QuotaAllocated field's value.

func (*SettleQuotaPaymentOutput) SetQuotaBalance

SetQuotaBalance sets the QuotaBalance field's value.

func (*SettleQuotaPaymentOutput) SetQuotaUnit

SetQuotaUnit sets the QuotaUnit field's value.

func (*SettleQuotaPaymentOutput) SetRepaymentAmount

func (s *SettleQuotaPaymentOutput) SetRepaymentAmount(v float64) *SettleQuotaPaymentOutput

SetRepaymentAmount sets the RepaymentAmount field's value.

func (*SettleQuotaPaymentOutput) SetSuccess added in v1.0.45

SetSuccess sets the Success field's value.

func (*SettleQuotaPaymentOutput) SetUid

SetUid sets the Uid field's value.

func (SettleQuotaPaymentOutput) String

func (s SettleQuotaPaymentOutput) String() string

String returns the string representation

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL