fba_inbound_models

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// ItemEligibilityPreviewProgramINBOUND captures enum value "INBOUND"
	ItemEligibilityPreviewProgramINBOUND string = "INBOUND"

	// ItemEligibilityPreviewProgramCOMMINGLING captures enum value "COMMINGLING"
	ItemEligibilityPreviewProgramCOMMINGLING string = "COMMINGLING"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {

	// An error code that identifies the type of error that occurred.
	// Required: true
	Code *string `json:"code"`

	// Additional information that can help the caller understand or fix the issue.
	Details string `json:"details,omitempty"`

	// A message that describes the error condition in a human-readable form.
	Message string `json:"message,omitempty"`
}

Error Error response returned when the request is unsuccessful.

swagger:model Error

func (*Error) ContextValidate

func (m *Error) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this error based on context it is used

func (*Error) MarshalBinary

func (m *Error) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

func (m *Error) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Error) Validate

func (m *Error) Validate(formats strfmt.Registry) error

Validate validates this error

type ErrorList

type ErrorList []*Error

ErrorList A list of error responses returned when a request is unsuccessful.

swagger:model ErrorList

func (ErrorList) ContextValidate

func (m ErrorList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this error list based on the context it is used

func (ErrorList) Validate

func (m ErrorList) Validate(formats strfmt.Registry) error

Validate validates this error list

type GetItemEligibilityPreviewResponse

type GetItemEligibilityPreviewResponse struct {

	// An unexpected condition occurred during the GetItemEligibilityPreview operation.
	Errors ErrorList `json:"errors,omitempty"`

	// The payload for the getItemEligibilityPreview operation.
	Payload *ItemEligibilityPreview `json:"payload,omitempty"`
}

GetItemEligibilityPreviewResponse The response schema for the getItemEligibilityPreview operation.

swagger:model GetItemEligibilityPreviewResponse

func (*GetItemEligibilityPreviewResponse) ContextValidate

func (m *GetItemEligibilityPreviewResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get item eligibility preview response based on the context it is used

func (*GetItemEligibilityPreviewResponse) MarshalBinary

func (m *GetItemEligibilityPreviewResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetItemEligibilityPreviewResponse) UnmarshalBinary

func (m *GetItemEligibilityPreviewResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetItemEligibilityPreviewResponse) Validate

Validate validates this get item eligibility preview response

type ItemEligibilityPreview

type ItemEligibilityPreview struct {

	// The ASIN for which eligibility was determined.
	// Required: true
	Asin *string `json:"asin"`

	// Potential Ineligibility Reason Codes.
	IneligibilityReasonList []string `json:"ineligibilityReasonList"`

	// Indicates if the item is eligible for the program.
	// Required: true
	IsEligibleForProgram *bool `json:"isEligibleForProgram"`

	// The marketplace for which eligibility was determined.
	MarketplaceID string `json:"marketplaceId,omitempty"`

	// The program for which eligibility was determined.
	// Required: true
	// Enum: [INBOUND COMMINGLING]
	Program *string `json:"program"`
}

ItemEligibilityPreview The response object which contains the ASIN, marketplaceId if required, eligibility program, the eligibility status (boolean), and a list of ineligibility reason codes.

swagger:model ItemEligibilityPreview

func (*ItemEligibilityPreview) ContextValidate

func (m *ItemEligibilityPreview) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this item eligibility preview based on context it is used

func (*ItemEligibilityPreview) MarshalBinary

func (m *ItemEligibilityPreview) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ItemEligibilityPreview) UnmarshalBinary

func (m *ItemEligibilityPreview) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ItemEligibilityPreview) Validate

func (m *ItemEligibilityPreview) Validate(formats strfmt.Registry) error

Validate validates this item eligibility preview

Jump to

Keyboard shortcuts

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