Documentation
¶
Index ¶
- Constants
- type Account
- type Address
- type Business
- type Error
- type ErrorList
- type GetAccountResponse
- type GetMarketplaceParticipationsResponse
- func (m *GetMarketplaceParticipationsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *GetMarketplaceParticipationsResponse) MarshalBinary() ([]byte, error)
- func (m *GetMarketplaceParticipationsResponse) UnmarshalBinary(b []byte) error
- func (m *GetMarketplaceParticipationsResponse) Validate(formats strfmt.Registry) error
- type Marketplace
- type MarketplaceLevelAttributes
- func (m *MarketplaceLevelAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *MarketplaceLevelAttributes) MarshalBinary() ([]byte, error)
- func (m *MarketplaceLevelAttributes) UnmarshalBinary(b []byte) error
- func (m *MarketplaceLevelAttributes) Validate(formats strfmt.Registry) error
- type MarketplaceParticipation
- func (m *MarketplaceParticipation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *MarketplaceParticipation) MarshalBinary() ([]byte, error)
- func (m *MarketplaceParticipation) UnmarshalBinary(b []byte) error
- func (m *MarketplaceParticipation) Validate(formats strfmt.Registry) error
- type MarketplaceParticipationList
- type Participation
- type PrimaryContact
Constants ¶
const ( // AccountBusinessTypeCHARITY captures enum value "CHARITY" AccountBusinessTypeCHARITY string = "CHARITY" // AccountBusinessTypeCRAFTSMAN captures enum value "CRAFTSMAN" AccountBusinessTypeCRAFTSMAN string = "CRAFTSMAN" // AccountBusinessTypeNATURALPERSONCOMPANY captures enum value "NATURAL_PERSON_COMPANY" AccountBusinessTypeNATURALPERSONCOMPANY string = "NATURAL_PERSON_COMPANY" // AccountBusinessTypePUBLICLISTED captures enum value "PUBLIC_LISTED" AccountBusinessTypePUBLICLISTED string = "PUBLIC_LISTED" // AccountBusinessTypePRIVATELIMITED captures enum value "PRIVATE_LIMITED" AccountBusinessTypePRIVATELIMITED string = "PRIVATE_LIMITED" // AccountBusinessTypeSOLEPROPRIETORSHIP captures enum value "SOLE_PROPRIETORSHIP" AccountBusinessTypeSOLEPROPRIETORSHIP string = "SOLE_PROPRIETORSHIP" // AccountBusinessTypeSTATEOWNED captures enum value "STATE_OWNED" AccountBusinessTypeSTATEOWNED string = "STATE_OWNED" // AccountBusinessTypeINDIVIDUAL captures enum value "INDIVIDUAL" AccountBusinessTypeINDIVIDUAL string = "INDIVIDUAL" )
const ( // MarketplaceLevelAttributesListingStatusACTIVE captures enum value "ACTIVE" MarketplaceLevelAttributesListingStatusACTIVE string = "ACTIVE" // MarketplaceLevelAttributesListingStatusINACTIVE captures enum value "INACTIVE" MarketplaceLevelAttributesListingStatusINACTIVE string = "INACTIVE" )
const ( // MarketplaceLevelAttributesSellingPlanPROFESSIONAL captures enum value "PROFESSIONAL" MarketplaceLevelAttributesSellingPlanPROFESSIONAL string = "PROFESSIONAL" // MarketplaceLevelAttributesSellingPlanINDIVIDUAL captures enum value "INDIVIDUAL" MarketplaceLevelAttributesSellingPlanINDIVIDUAL string = "INDIVIDUAL" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶ added in v0.24.10
type Account struct { // business Business *Business `json:"business,omitempty"` // The type of business registered for the seller account. // Required: true // Enum: [CHARITY CRAFTSMAN NATURAL_PERSON_COMPANY PUBLIC_LISTED PRIVATE_LIMITED SOLE_PROPRIETORSHIP STATE_OWNED INDIVIDUAL] BusinessType *string `json:"businessType"` // A list of details of the marketplaces where the seller account is active. // Required: true MarketplaceLevelAttributes []*MarketplaceLevelAttributes `json:"marketplaceLevelAttributes"` // primary contact PrimaryContact *PrimaryContact `json:"primaryContact,omitempty"` }
Account The response schema for the `getAccount` operation.
swagger:model Account
func (*Account) ContextValidate ¶ added in v0.24.10
ContextValidate validate this account based on the context it is used
func (*Account) MarshalBinary ¶ added in v0.24.10
MarshalBinary interface implementation
func (*Account) UnmarshalBinary ¶ added in v0.24.10
UnmarshalBinary interface implementation
type Address ¶ added in v0.24.10
type Address struct { // Street address information. // Required: true AddressLine1 *string `json:"addressLine1"` // Additional street address information. AddressLine2 string `json:"addressLine2,omitempty"` // The city. City string `json:"city,omitempty"` // The country code in two-character ISO 3166-1 alpha-2 format. // Required: true CountryCode *string `json:"countryCode"` // The postal code. PostalCode string `json:"postalCode,omitempty"` // The state or province code. StateOrProvinceCode string `json:"stateOrProvinceCode,omitempty"` }
Address Represents an address
swagger:model Address
func (*Address) ContextValidate ¶ added in v0.24.10
ContextValidate validates this address based on context it is used
func (*Address) MarshalBinary ¶ added in v0.24.10
MarshalBinary interface implementation
func (*Address) UnmarshalBinary ¶ added in v0.24.10
UnmarshalBinary interface implementation
type Business ¶ added in v0.24.10
type Business struct { // The seller's company registration number, if applicable. This field will be absent for individual sellers and sole proprietorships. CompanyRegistrationNumber string `json:"companyRegistrationNumber,omitempty"` // The seller's company tax identification number, if applicable. This field will be present for certain business types only, such as sole proprietorships. CompanyTaxIdentificationNumber string `json:"companyTaxIdentificationNumber,omitempty"` // The registered business name. // Required: true Name *string `json:"name"` // The non-Latin script version of the registered business name, if applicable. NonLatinName string `json:"nonLatinName,omitempty"` // The registered business address. // Required: true RegisteredBusinessAddress *Address `json:"registeredBusinessAddress"` }
Business Information about the seller's business. Certain fields may be omitted depending on the seller's `businessType`.
swagger:model Business
func (*Business) ContextValidate ¶ added in v0.24.10
ContextValidate validate this business based on the context it is used
func (*Business) MarshalBinary ¶ added in v0.24.10
MarshalBinary interface implementation
func (*Business) UnmarshalBinary ¶ added in v0.24.10
UnmarshalBinary interface implementation
type Error ¶
type Error struct { // An error code that identifies the type of error that occurred. // Required: true Code *string `json:"code"` // Additional details that can help you understand or fix the issue. Details string `json:"details,omitempty"` // A message that describes the error condition in a human-readable form. // Required: true Message *string `json:"message"` }
Error Error response returned when the request is unsuccessful.
swagger:model Error
func (*Error) ContextValidate ¶
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ErrorList ¶
type ErrorList []*Error
ErrorList A list of error responses returned when a request is unsuccessful.
swagger:model ErrorList
func (ErrorList) ContextValidate ¶
ContextValidate validate this error list based on the context it is used
type GetAccountResponse ¶ added in v0.24.10
type GetAccountResponse struct { // The errors encountered by the `getAccount` operation. Errors ErrorList `json:"errors,omitempty"` // payload Payload *Account `json:"payload,omitempty"` }
GetAccountResponse The response schema for the `getAccount` operation.
swagger:model GetAccountResponse
func (*GetAccountResponse) ContextValidate ¶ added in v0.24.10
ContextValidate validate this get account response based on the context it is used
func (*GetAccountResponse) MarshalBinary ¶ added in v0.24.10
func (m *GetAccountResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetAccountResponse) UnmarshalBinary ¶ added in v0.24.10
func (m *GetAccountResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetMarketplaceParticipationsResponse ¶
type GetMarketplaceParticipationsResponse struct { // The errors encountered by the `getMarketplaceParticipations` operation. Errors ErrorList `json:"errors,omitempty"` // The payload for the `getMarketplaceParticipations` operation. Payload MarketplaceParticipationList `json:"payload,omitempty"` }
GetMarketplaceParticipationsResponse The response schema for the `getMarketplaceParticipations` operation.
swagger:model GetMarketplaceParticipationsResponse
func (*GetMarketplaceParticipationsResponse) ContextValidate ¶
func (m *GetMarketplaceParticipationsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get marketplace participations response based on the context it is used
func (*GetMarketplaceParticipationsResponse) MarshalBinary ¶
func (m *GetMarketplaceParticipationsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetMarketplaceParticipationsResponse) UnmarshalBinary ¶
func (m *GetMarketplaceParticipationsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Marketplace ¶
type Marketplace struct { // The ISO 3166-1 alpha-2 format country code of the marketplace. // Required: true // Pattern: ^([A-Z]{2})$ CountryCode *string `json:"countryCode"` // The ISO 4217 format currency code of the marketplace. // Required: true DefaultCurrencyCode *string `json:"defaultCurrencyCode"` // The ISO 639-1 format language code of the marketplace. // Required: true DefaultLanguageCode *string `json:"defaultLanguageCode"` // The domain name of the marketplace. // Required: true DomainName *string `json:"domainName"` // The encrypted marketplace value. // Required: true ID *string `json:"id"` // The marketplace name. // Required: true Name *string `json:"name"` }
Marketplace Information about an Amazon marketplace where a seller can list items and customers can view and purchase items.
swagger:model Marketplace
func (*Marketplace) ContextValidate ¶
ContextValidate validates this marketplace based on context it is used
func (*Marketplace) MarshalBinary ¶
func (m *Marketplace) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Marketplace) UnmarshalBinary ¶
func (m *Marketplace) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MarketplaceLevelAttributes ¶ added in v0.24.10
type MarketplaceLevelAttributes struct { // The current status of the seller's listings. // Required: true // Enum: [ACTIVE INACTIVE] ListingStatus *string `json:"listingStatus"` // marketplace // Required: true Marketplace *Marketplace `json:"marketplace"` // The selling plan details. // Required: true // Enum: [PROFESSIONAL INDIVIDUAL] SellingPlan *string `json:"sellingPlan"` // The name of the seller's store as displayed in the marketplace. // Required: true StoreName *string `json:"storeName"` }
MarketplaceLevelAttributes Attributes that define the seller's presence and status within a specific marketplace. These attributes include the marketplace details, store name, listing status, and the selling plan the seller is subscribed to.
swagger:model MarketplaceLevelAttributes
func (*MarketplaceLevelAttributes) ContextValidate ¶ added in v0.24.10
func (m *MarketplaceLevelAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this marketplace level attributes based on the context it is used
func (*MarketplaceLevelAttributes) MarshalBinary ¶ added in v0.24.10
func (m *MarketplaceLevelAttributes) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MarketplaceLevelAttributes) UnmarshalBinary ¶ added in v0.24.10
func (m *MarketplaceLevelAttributes) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MarketplaceParticipation ¶
type MarketplaceParticipation struct { // marketplace // Required: true Marketplace *Marketplace `json:"marketplace"` // participation // Required: true Participation *Participation `json:"participation"` }
MarketplaceParticipation marketplace participation
swagger:model MarketplaceParticipation
func (*MarketplaceParticipation) ContextValidate ¶
func (m *MarketplaceParticipation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this marketplace participation based on the context it is used
func (*MarketplaceParticipation) MarshalBinary ¶
func (m *MarketplaceParticipation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MarketplaceParticipation) UnmarshalBinary ¶
func (m *MarketplaceParticipation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MarketplaceParticipationList ¶
type MarketplaceParticipationList []*MarketplaceParticipation
MarketplaceParticipationList List of marketplace participations.
swagger:model MarketplaceParticipationList
func (MarketplaceParticipationList) ContextValidate ¶
func (m MarketplaceParticipationList) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this marketplace participation list based on the context it is used
type Participation ¶
type Participation struct { // Specifies if the seller has suspended listings. `true` if the seller Listing Status is set to Inactive, otherwise `false`. // Required: true HasSuspendedListings *bool `json:"hasSuspendedListings"` // If `true`, the seller participates in the marketplace. Otherwise `false`. // Required: true IsParticipating *bool `json:"isParticipating"` }
Participation Information that is specific to a seller in a marketplace.
swagger:model Participation
func (*Participation) ContextValidate ¶
ContextValidate validates this participation based on context it is used
func (*Participation) MarshalBinary ¶
func (m *Participation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Participation) UnmarshalBinary ¶
func (m *Participation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PrimaryContact ¶ added in v0.24.10
type PrimaryContact struct { // The primary contact's residential address. // Required: true Address *Address `json:"address"` // The full name of the seller's primary contact. // Required: true Name *string `json:"name"` // The non-Latin script version of the primary contact's name, if applicable. NonLatinName string `json:"nonLatinName,omitempty"` }
PrimaryContact Information about the seller's primary contact.
swagger:model PrimaryContact
func (*PrimaryContact) ContextValidate ¶ added in v0.24.10
ContextValidate validate this primary contact based on the context it is used
func (*PrimaryContact) MarshalBinary ¶ added in v0.24.10
func (m *PrimaryContact) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PrimaryContact) UnmarshalBinary ¶ added in v0.24.10
func (m *PrimaryContact) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation