finances_v0_models

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdhocDisbursementEvent

type AdhocDisbursementEvent struct {

	// The date and time when the financial event was posted.
	// Format: date-time
	PostedDate Date `json:"PostedDate,omitempty"`

	// The amount of the transaction.
	TransactionAmount *Currency `json:"TransactionAmount,omitempty"`

	// The identifier for the transaction.
	TransactionID string `json:"TransactionId,omitempty"`

	// Indicates the type of transaction.
	//
	// Example: "Disbursed to Amazon Gift Card balance"
	TransactionType string `json:"TransactionType,omitempty"`
}

AdhocDisbursementEvent An event related to an Adhoc Disbursement.

swagger:model AdhocDisbursementEvent

func (*AdhocDisbursementEvent) ContextValidate

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

ContextValidate validate this adhoc disbursement event based on the context it is used

func (*AdhocDisbursementEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*AdhocDisbursementEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AdhocDisbursementEvent) Validate

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

Validate validates this adhoc disbursement event

type AdhocDisbursementEventList

type AdhocDisbursementEventList []*AdhocDisbursementEvent

AdhocDisbursementEventList A list of `AdhocDisbursement` events.

swagger:model AdhocDisbursementEventList

func (AdhocDisbursementEventList) ContextValidate

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

ContextValidate validate this adhoc disbursement event list based on the context it is used

func (AdhocDisbursementEventList) Validate

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

Validate validates this adhoc disbursement event list

type AdjustmentEvent

type AdjustmentEvent struct {

	// The amount adjusted as part of this event.
	AdjustmentAmount *Currency `json:"AdjustmentAmount,omitempty"`

	// A list of information about adjustments to an account.
	AdjustmentItemList AdjustmentItemList `json:"AdjustmentItemList,omitempty"`

	// The type of adjustment.
	//
	// Possible values:
	//
	// * FBAInventoryReimbursement - An FBA inventory reimbursement to a seller's account. This occurs if a seller's inventory is damaged.
	//
	// * ReserveEvent - A reserve event that is generated at the time of a settlement period closing. This occurs when some money from a seller's account is held back.
	//
	// * PostageBilling - The amount paid by a seller for shipping labels.
	//
	// * PostageRefund - The reimbursement of shipping labels purchased for orders that were canceled or refunded.
	//
	// * LostOrDamagedReimbursement - An Amazon Easy Ship reimbursement to a seller's account for a package that we lost or damaged.
	//
	// * CanceledButPickedUpReimbursement - An Amazon Easy Ship reimbursement to a seller's account. This occurs when a package is picked up and the order is subsequently canceled. This value is used only in the India marketplace.
	//
	// * ReimbursementClawback - An Amazon Easy Ship reimbursement clawback from a seller's account. This occurs when a prior reimbursement is reversed. This value is used only in the India marketplace.
	//
	// * SellerRewards - An award credited to a seller's account for their participation in an offer in the Seller Rewards program. Applies only to the India marketplace.
	AdjustmentType string `json:"AdjustmentType,omitempty"`

	// The date and time when the financial event was posted.
	// Format: date-time
	PostedDate Date `json:"PostedDate,omitempty"`
}

AdjustmentEvent An adjustment to the seller's account.

swagger:model AdjustmentEvent

func (*AdjustmentEvent) ContextValidate

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

ContextValidate validate this adjustment event based on the context it is used

func (*AdjustmentEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*AdjustmentEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AdjustmentEvent) Validate

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

Validate validates this adjustment event

type AdjustmentEventList

type AdjustmentEventList []*AdjustmentEvent

AdjustmentEventList A list of adjustment event information for the seller's account.

swagger:model AdjustmentEventList

func (AdjustmentEventList) ContextValidate

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

ContextValidate validate this adjustment event list based on the context it is used

func (AdjustmentEventList) Validate

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

Validate validates this adjustment event list

type AdjustmentItem

type AdjustmentItem struct {

	// The Amazon Standard Identification Number (ASIN) of the item.
	ASIN string `json:"ASIN,omitempty"`

	// A unique identifier assigned to products stored in and fulfilled from a fulfillment center.
	FnSKU string `json:"FnSKU,omitempty"`

	// The per unit value of the item.
	PerUnitAmount *Currency `json:"PerUnitAmount,omitempty"`

	// A short description of the item.
	ProductDescription string `json:"ProductDescription,omitempty"`

	// Represents the number of units in the seller's inventory when the AdustmentType is FBAInventoryReimbursement.
	Quantity string `json:"Quantity,omitempty"`

	// The seller SKU of the item. The seller SKU is qualified by the seller's seller ID, which is included with every call to the Selling Partner API.
	SellerSKU string `json:"SellerSKU,omitempty"`

	// The total value of the item.
	TotalAmount *Currency `json:"TotalAmount,omitempty"`
}

AdjustmentItem An item in an adjustment to the seller's account.

swagger:model AdjustmentItem

func (*AdjustmentItem) ContextValidate

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

ContextValidate validate this adjustment item based on the context it is used

func (*AdjustmentItem) MarshalBinary

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

MarshalBinary interface implementation

func (*AdjustmentItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AdjustmentItem) Validate

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

Validate validates this adjustment item

type AdjustmentItemList

type AdjustmentItemList []*AdjustmentItem

AdjustmentItemList A list of information about items in an adjustment to the seller's account.

swagger:model AdjustmentItemList

func (AdjustmentItemList) ContextValidate

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

ContextValidate validate this adjustment item list based on the context it is used

func (AdjustmentItemList) Validate

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

Validate validates this adjustment item list

type AffordabilityExpenseEvent

type AffordabilityExpenseEvent struct {

	// An Amazon-defined identifier for an order.
	AmazonOrderID string `json:"AmazonOrderId,omitempty"`

	// The amount charged for clicks incurred under the Sponsored Products program.
	BaseExpense *Currency `json:"BaseExpense,omitempty"`

	// An encrypted, Amazon-defined marketplace identifier.
	MarketplaceID string `json:"MarketplaceId,omitempty"`

	// The date and time when the financial event was created.
	// Format: date-time
	PostedDate Date `json:"PostedDate,omitempty"`

	// Central Goods and Service Tax, charged and collected by the central government.
	// Required: true
	TaxTypeCGST *Currency `json:"TaxTypeCGST"`

	// Integrated Goods and Service Tax, charged and collected by the central government.
	// Required: true
	TaxTypeIGST *Currency `json:"TaxTypeIGST"`

	// State Goods and Service Tax, charged and collected by the state government.
	// Required: true
	TaxTypeSGST *Currency `json:"TaxTypeSGST"`

	// The total amount charged to the seller. TotalExpense = BaseExpense + TaxTypeIGST + TaxTypeCGST + TaxTypeSGST.
	TotalExpense *Currency `json:"TotalExpense,omitempty"`

	// Indicates the type of transaction.
	//
	// Possible values:
	//
	// * Charge - For an affordability promotion expense.
	//
	// * Refund - For an affordability promotion expense reversal.
	TransactionType string `json:"TransactionType,omitempty"`
}

AffordabilityExpenseEvent An expense related to an affordability promotion.

swagger:model AffordabilityExpenseEvent

func (*AffordabilityExpenseEvent) ContextValidate

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

ContextValidate validate this affordability expense event based on the context it is used

func (*AffordabilityExpenseEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*AffordabilityExpenseEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*AffordabilityExpenseEvent) Validate

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

Validate validates this affordability expense event

type AffordabilityExpenseEventList

type AffordabilityExpenseEventList []*AffordabilityExpenseEvent

AffordabilityExpenseEventList A list of expense information related to an affordability promotion.

swagger:model AffordabilityExpenseEventList

func (AffordabilityExpenseEventList) ContextValidate

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

ContextValidate validate this affordability expense event list based on the context it is used

func (AffordabilityExpenseEventList) Validate

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

Validate validates this affordability expense event list

type BigDecimal

type BigDecimal float64

BigDecimal big decimal

swagger:model BigDecimal

func (BigDecimal) ContextValidate

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

ContextValidate validates this big decimal based on context it is used

func (BigDecimal) Validate

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

Validate validates this big decimal

type CapacityReservationBillingEvent

type CapacityReservationBillingEvent struct {

	// A short description of the capacity reservation billing event.
	Description string `json:"Description,omitempty"`

	// The date and time when the financial event was posted.
	// Format: date-time
	PostedDate Date `json:"PostedDate,omitempty"`

	// The amount of the capacity reservation billing event.
	TransactionAmount *Currency `json:"TransactionAmount,omitempty"`

	// Indicates the type of transaction. For example, FBA Inventory Fee
	TransactionType string `json:"TransactionType,omitempty"`
}

CapacityReservationBillingEvent An event related to a capacity reservation billing charge.

swagger:model CapacityReservationBillingEvent

func (*CapacityReservationBillingEvent) ContextValidate

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

ContextValidate validate this capacity reservation billing event based on the context it is used

func (*CapacityReservationBillingEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*CapacityReservationBillingEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CapacityReservationBillingEvent) Validate

Validate validates this capacity reservation billing event

type CapacityReservationBillingEventList

type CapacityReservationBillingEventList []*CapacityReservationBillingEvent

CapacityReservationBillingEventList A list of `CapacityReservationBillingEvent` events.

swagger:model CapacityReservationBillingEventList

func (CapacityReservationBillingEventList) ContextValidate

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

ContextValidate validate this capacity reservation billing event list based on the context it is used

func (CapacityReservationBillingEventList) Validate

Validate validates this capacity reservation billing event list

type ChargeComponent

type ChargeComponent struct {

	// The amount of the charge.
	ChargeAmount *Currency `json:"ChargeAmount,omitempty"`

	// The type of charge.
	ChargeType string `json:"ChargeType,omitempty"`
}

ChargeComponent A charge on the seller's account.

Possible values:

* Principal - The selling price of the order item, equal to the selling price of the item multiplied by the quantity ordered.

* Tax - The tax collected by the seller on the Principal.

* MarketplaceFacilitatorTax-Principal - The tax withheld on the Principal.

* MarketplaceFacilitatorTax-Shipping - The tax withheld on the ShippingCharge.

* MarketplaceFacilitatorTax-Giftwrap - The tax withheld on the Giftwrap charge.

* MarketplaceFacilitatorTax-Other - The tax withheld on other miscellaneous charges.

* Discount - The promotional discount for an order item.

* TaxDiscount - The tax amount deducted for promotional rebates.

* CODItemCharge - The COD charge for an order item.

* CODItemTaxCharge - The tax collected by the seller on a CODItemCharge.

* CODOrderCharge - The COD charge for an order.

* CODOrderTaxCharge - The tax collected by the seller on a CODOrderCharge.

* CODShippingCharge - Shipping charges for a COD order.

* CODShippingTaxCharge - The tax collected by the seller on a CODShippingCharge.

* ShippingCharge - The shipping charge.

* ShippingTax - The tax collected by the seller on a ShippingCharge.

* Goodwill - The amount given to a buyer as a gesture of goodwill or to compensate for pain and suffering in the buying experience.

* Giftwrap - The gift wrap charge.

* GiftwrapTax - The tax collected by the seller on a Giftwrap charge.

* RestockingFee - The charge applied to the buyer when returning a product in certain categories.

* ReturnShipping - The amount given to the buyer to compensate for shipping the item back in the event we are at fault.

* PointsFee - The value of Amazon Points deducted from the refund if the buyer does not have enough Amazon Points to cover the deduction.

* GenericDeduction - A generic bad debt deduction.

* FreeReplacementReturnShipping - The compensation for return shipping when a buyer receives the wrong item, requests a free replacement, and returns the incorrect item.

* PaymentMethodFee - The fee collected for certain payment methods in certain marketplaces.

* ExportCharge - The export duty that is charged when an item is shipped to an international destination as part of the Amazon Global program.

* SAFE-TReimbursement - The SAFE-T claim amount for the item.

* TCS-CGST - Tax Collected at Source (TCS) for Central Goods and Services Tax (CGST).

* TCS-SGST - Tax Collected at Source for State Goods and Services Tax (SGST).

* TCS-IGST - Tax Collected at Source for Integrated Goods and Services Tax (IGST).

* TCS-UTGST - Tax Collected at Source for Union Territories Goods and Services Tax (UTGST).

swagger:model ChargeComponent

func (*ChargeComponent) ContextValidate

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

ContextValidate validate this charge component based on the context it is used

func (*ChargeComponent) MarshalBinary

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

MarshalBinary interface implementation

func (*ChargeComponent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChargeComponent) Validate

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

Validate validates this charge component

type ChargeComponentList

type ChargeComponentList []*ChargeComponent

ChargeComponentList A list of charge information on the seller's account.

swagger:model ChargeComponentList

func (ChargeComponentList) ContextValidate

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

ContextValidate validate this charge component list based on the context it is used

func (ChargeComponentList) Validate

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

Validate validates this charge component list

type ChargeInstrument

type ChargeInstrument struct {

	// The amount charged to this charge instrument.
	Amount *Currency `json:"Amount,omitempty"`

	// A short description of the charge instrument.
	Description string `json:"Description,omitempty"`

	// The account tail (trailing digits) of the charge instrument.
	Tail string `json:"Tail,omitempty"`
}

ChargeInstrument A payment instrument.

swagger:model ChargeInstrument

func (*ChargeInstrument) ContextValidate

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

ContextValidate validate this charge instrument based on the context it is used

func (*ChargeInstrument) MarshalBinary

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

MarshalBinary interface implementation

func (*ChargeInstrument) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChargeInstrument) Validate

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

Validate validates this charge instrument

type ChargeInstrumentList

type ChargeInstrumentList []*ChargeInstrument

ChargeInstrumentList A list of payment instruments.

swagger:model ChargeInstrumentList

func (ChargeInstrumentList) ContextValidate

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

ContextValidate validate this charge instrument list based on the context it is used

func (ChargeInstrumentList) Validate

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

Validate validates this charge instrument list

type ChargeRefundEvent

type ChargeRefundEvent struct {

	// The amount of the charge refund credit.
	ChargeRefundTransactions ChargeRefundTransactions `json:"ChargeRefundTransactions,omitempty"`

	// The date and time when the financial event was posted.
	// Format: date-time
	PostedDate Date `json:"PostedDate,omitempty"`

	// The reason given for a charge refund.
	//
	// Example: `SubscriptionFeeCorrection`
	ReasonCode string `json:"ReasonCode,omitempty"`

	// A description of the Reason Code.
	//
	// Example: `SubscriptionFeeCorrection`
	ReasonCodeDescription string `json:"ReasonCodeDescription,omitempty"`
}

ChargeRefundEvent An event related to charge refund.

swagger:model ChargeRefundEvent

func (*ChargeRefundEvent) ContextValidate

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

ContextValidate validate this charge refund event based on the context it is used

func (*ChargeRefundEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*ChargeRefundEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChargeRefundEvent) Validate

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

Validate validates this charge refund event

type ChargeRefundEventList

type ChargeRefundEventList []*ChargeRefundEvent

ChargeRefundEventList A list of charge refund events.

swagger:model ChargeRefundEventList

func (ChargeRefundEventList) ContextValidate

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

ContextValidate validate this charge refund event list based on the context it is used

func (ChargeRefundEventList) Validate

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

Validate validates this charge refund event list

type ChargeRefundTransaction

type ChargeRefundTransaction struct {

	// The amount of the charge refund credit.
	ChargeAmount *Currency `json:"ChargeAmount,omitempty"`

	// The type of charge.
	ChargeType string `json:"ChargeType,omitempty"`
}

ChargeRefundTransaction The charge refund transaction.

swagger:model ChargeRefundTransaction

func (*ChargeRefundTransaction) ContextValidate

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

ContextValidate validate this charge refund transaction based on the context it is used

func (*ChargeRefundTransaction) MarshalBinary

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

MarshalBinary interface implementation

func (*ChargeRefundTransaction) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ChargeRefundTransaction) Validate

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

Validate validates this charge refund transaction

type ChargeRefundTransactions added in v0.3.0

type ChargeRefundTransactions []*ChargeRefundTransaction

ChargeRefundTransactions A list of `ChargeRefund` transactions.

swagger:model ChargeRefundTransactions

func (ChargeRefundTransactions) ContextValidate added in v0.3.0

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

ContextValidate validate this charge refund transactions based on the context it is used

func (ChargeRefundTransactions) Validate added in v0.3.0

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

Validate validates this charge refund transactions

type CouponPaymentEvent

type CouponPaymentEvent struct {

	// charge component
	ChargeComponent *ChargeComponent `json:"ChargeComponent,omitempty"`

	// The number of coupon clips or redemptions.
	ClipOrRedemptionCount int64 `json:"ClipOrRedemptionCount,omitempty"`

	// A coupon identifier.
	CouponID string `json:"CouponId,omitempty"`

	// fee component
	FeeComponent *FeeComponent `json:"FeeComponent,omitempty"`

	// A payment event identifier.
	PaymentEventID string `json:"PaymentEventId,omitempty"`

	// The date and time when the financial event was posted.
	// Format: date-time
	PostedDate Date `json:"PostedDate,omitempty"`

	// The description provided by the seller when they created the coupon.
	SellerCouponDescription string `json:"SellerCouponDescription,omitempty"`

	// The FeeComponent value plus the ChargeComponent value.
	TotalAmount *Currency `json:"TotalAmount,omitempty"`
}

CouponPaymentEvent An event related to coupon payments.

swagger:model CouponPaymentEvent

func (*CouponPaymentEvent) ContextValidate

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

ContextValidate validate this coupon payment event based on the context it is used

func (*CouponPaymentEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*CouponPaymentEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CouponPaymentEvent) Validate

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

Validate validates this coupon payment event

type CouponPaymentEventList

type CouponPaymentEventList []*CouponPaymentEvent

CouponPaymentEventList A list of coupon payment event information.

swagger:model CouponPaymentEventList

func (CouponPaymentEventList) ContextValidate

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

ContextValidate validate this coupon payment event list based on the context it is used

func (CouponPaymentEventList) Validate

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

Validate validates this coupon payment event list

type Currency

type Currency struct {

	// The monetary value.
	CurrencyAmount BigDecimal `json:"CurrencyAmount,omitempty"`

	// The three-digit currency code in ISO 4217 format.
	CurrencyCode string `json:"CurrencyCode,omitempty"`
}

Currency A currency type and amount.

swagger:model Currency

func (*Currency) ContextValidate

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

ContextValidate validate this currency based on the context it is used

func (*Currency) MarshalBinary

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

MarshalBinary interface implementation

func (*Currency) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Currency) Validate

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

Validate validates this currency

type Date

type Date strfmt.DateTime

Date date

swagger:model Date

func (Date) ContextValidate

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

ContextValidate validates this date based on context it is used

func (*Date) MarshalBinary

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

MarshalBinary interface implementation

func (Date) MarshalJSON

func (m Date) MarshalJSON() ([]byte, error)

MarshalJSON retrieves a Date value as JSON output

func (*Date) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Date) UnmarshalJSON

func (m *Date) UnmarshalJSON(b []byte) error

UnmarshalJSON sets a Date value from JSON input

func (Date) Validate

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

Validate validates this date

type DebtRecoveryEvent

type DebtRecoveryEvent struct {

	// charge instrument list
	ChargeInstrumentList ChargeInstrumentList `json:"ChargeInstrumentList,omitempty"`

	// debt recovery item list
	DebtRecoveryItemList DebtRecoveryItemList `json:"DebtRecoveryItemList,omitempty"`

	// The debt recovery type.
	//
	// Possible values:
	//
	// * DebtPayment
	//
	// * DebtPaymentFailure
	//
	// *DebtAdjustment
	DebtRecoveryType string `json:"DebtRecoveryType,omitempty"`

	// The amount returned for overpayment.
	OverPaymentCredit *Currency `json:"OverPaymentCredit,omitempty"`

	// The amount applied for recovery.
	RecoveryAmount *Currency `json:"RecoveryAmount,omitempty"`
}

DebtRecoveryEvent A debt payment or debt adjustment.

swagger:model DebtRecoveryEvent

func (*DebtRecoveryEvent) ContextValidate

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

ContextValidate validate this debt recovery event based on the context it is used

func (*DebtRecoveryEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*DebtRecoveryEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DebtRecoveryEvent) Validate

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

Validate validates this debt recovery event

type DebtRecoveryEventList

type DebtRecoveryEventList []*DebtRecoveryEvent

DebtRecoveryEventList A list of debt recovery event information.

swagger:model DebtRecoveryEventList

func (DebtRecoveryEventList) ContextValidate

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

ContextValidate validate this debt recovery event list based on the context it is used

func (DebtRecoveryEventList) Validate

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

Validate validates this debt recovery event list

type DebtRecoveryItem

type DebtRecoveryItem struct {

	// The beginning date and time of the financial event group that contains the debt. In ISO 8601 date time format.
	// Format: date-time
	GroupBeginDate Date `json:"GroupBeginDate,omitempty"`

	// The ending date and time of the financial event group that contains the debt. In ISO 8601 date time format.
	// Format: date-time
	GroupEndDate Date `json:"GroupEndDate,omitempty"`

	// The original debt amount.
	OriginalAmount *Currency `json:"OriginalAmount,omitempty"`

	// The amount applied for the recovery item.
	RecoveryAmount *Currency `json:"RecoveryAmount,omitempty"`
}

DebtRecoveryItem An item of a debt payment or debt adjustment.

swagger:model DebtRecoveryItem

func (*DebtRecoveryItem) ContextValidate

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

ContextValidate validate this debt recovery item based on the context it is used

func (*DebtRecoveryItem) MarshalBinary

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

MarshalBinary interface implementation

func (*DebtRecoveryItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DebtRecoveryItem) Validate

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

Validate validates this debt recovery item

type DebtRecoveryItemList

type DebtRecoveryItemList []*DebtRecoveryItem

DebtRecoveryItemList A list of debt recovery item information.

swagger:model DebtRecoveryItemList

func (DebtRecoveryItemList) ContextValidate

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

ContextValidate validate this debt recovery item list based on the context it is used

func (DebtRecoveryItemList) Validate

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

Validate validates this debt recovery item list

type DirectPayment

type DirectPayment struct {

	// The amount of the direct payment.
	DirectPaymentAmount *Currency `json:"DirectPaymentAmount,omitempty"`

	// The type of payment.
	//
	// Possible values:
	//
	// * StoredValueCardRevenue - The amount that is deducted from the seller's account because the seller received money through a stored value card.
	//
	// * StoredValueCardRefund - The amount that Amazon returns to the seller if the order that is bought using a stored value card is refunded.
	//
	// * PrivateLabelCreditCardRevenue - The amount that is deducted from the seller's account because the seller received money through a private label credit card offered by Amazon.
	//
	// * PrivateLabelCreditCardRefund - The amount that Amazon returns to the seller if the order that is bought using a private label credit card offered by Amazon is refunded.
	//
	// * CollectOnDeliveryRevenue - The COD amount that the seller collected directly from the buyer.
	//
	// * CollectOnDeliveryRefund - The amount that Amazon refunds to the buyer if an order paid for by COD is refunded.
	DirectPaymentType string `json:"DirectPaymentType,omitempty"`
}

DirectPayment A payment made directly to a seller.

swagger:model DirectPayment

func (*DirectPayment) ContextValidate

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

ContextValidate validate this direct payment based on the context it is used

func (*DirectPayment) MarshalBinary

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

MarshalBinary interface implementation

func (*DirectPayment) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DirectPayment) Validate

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

Validate validates this direct payment

type DirectPaymentList

type DirectPaymentList []*DirectPayment

DirectPaymentList A list of direct payment information.

swagger:model DirectPaymentList

func (DirectPaymentList) ContextValidate

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

ContextValidate validate this direct payment list based on the context it is used

func (DirectPaymentList) Validate

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

Validate validates this direct payment list

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 the caller 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

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 FBALiquidationEvent

type FBALiquidationEvent struct {

	// The fee charged to the seller by Amazon for liquidating the seller's FBA inventory.
	LiquidationFeeAmount *Currency `json:"LiquidationFeeAmount,omitempty"`

	// The amount paid by the liquidator for the seller's inventory. The seller receives this amount minus LiquidationFeeAmount.
	LiquidationProceedsAmount *Currency `json:"LiquidationProceedsAmount,omitempty"`

	// The identifier for the original removal order.
	OriginalRemovalOrderID string `json:"OriginalRemovalOrderId,omitempty"`

	// The date and time when the financial event was posted.
	// Format: date-time
	PostedDate Date `json:"PostedDate,omitempty"`
}

FBALiquidationEvent A payment event for Fulfillment by Amazon (FBA) inventory liquidation. This event is used only in the US marketplace.

swagger:model FBALiquidationEvent

func (*FBALiquidationEvent) ContextValidate

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

ContextValidate validate this f b a liquidation event based on the context it is used

func (*FBALiquidationEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*FBALiquidationEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*FBALiquidationEvent) Validate

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

Validate validates this f b a liquidation event

type FBALiquidationEventList

type FBALiquidationEventList []*FBALiquidationEvent

FBALiquidationEventList A list of FBA inventory liquidation payment events.

swagger:model FBALiquidationEventList

func (FBALiquidationEventList) ContextValidate

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

ContextValidate validate this f b a liquidation event list based on the context it is used

func (FBALiquidationEventList) Validate

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

Validate validates this f b a liquidation event list

type FailedAdhocDisbursementEvent added in v0.3.0

type FailedAdhocDisbursementEvent struct {

	// The disbursement identifier.
	DisbursementID string `json:"DisbursementId,omitempty"`

	// The type of fund transfer.
	//
	// Example "Refund"
	FundsTransfersType string `json:"FundsTransfersType,omitempty"`

	// The type of payment for disbursement.
	//
	// Example `CREDIT_CARD`
	PaymentDisbursementType string `json:"PaymentDisbursementType,omitempty"`

	// The date and time when the financial event was posted.
	// Format: date-time
	PostedDate Date `json:"PostedDate,omitempty"`

	// The status of the failed `AdhocDisbursement`.
	//
	// Example `HARD_DECLINED`
	Status string `json:"Status,omitempty"`

	// The amount of the Adhoc Disbursement.
	TransferAmount *Currency `json:"TransferAmount,omitempty"`

	// The transfer identifier.
	TransferID string `json:"TransferId,omitempty"`
}

FailedAdhocDisbursementEvent Failed ad hoc disbursement event list.

swagger:model FailedAdhocDisbursementEvent

func (*FailedAdhocDisbursementEvent) ContextValidate added in v0.3.0

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

ContextValidate validate this failed adhoc disbursement event based on the context it is used

func (*FailedAdhocDisbursementEvent) MarshalBinary added in v0.3.0

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

MarshalBinary interface implementation

func (*FailedAdhocDisbursementEvent) UnmarshalBinary added in v0.3.0

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

UnmarshalBinary interface implementation

func (*FailedAdhocDisbursementEvent) Validate added in v0.3.0

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

Validate validates this failed adhoc disbursement event

type FailedAdhocDisbursementEventList

type FailedAdhocDisbursementEventList []*FailedAdhocDisbursementEvent

FailedAdhocDisbursementEventList A list of `FailedAdhocDisbursementEvent`s.

swagger:model FailedAdhocDisbursementEventList

func (FailedAdhocDisbursementEventList) ContextValidate

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

ContextValidate validate this failed adhoc disbursement event list based on the context it is used

func (FailedAdhocDisbursementEventList) Validate

Validate validates this failed adhoc disbursement event list

type FeeComponent

type FeeComponent struct {

	// The amount of the fee.
	FeeAmount *Currency `json:"FeeAmount,omitempty"`

	// The type of fee. For more information about Selling on Amazon fees, see [Selling on Amazon Fee Schedule](https://sellercentral.amazon.com/gp/help/200336920) on Seller Central. For more information about Fulfillment by Amazon fees, see [FBA features, services and fees](https://sellercentral.amazon.com/gp/help/201074400) on Seller Central.
	FeeType string `json:"FeeType,omitempty"`
}

FeeComponent A fee associated with the event.

swagger:model FeeComponent

func (*FeeComponent) ContextValidate

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

ContextValidate validate this fee component based on the context it is used

func (*FeeComponent) MarshalBinary

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

MarshalBinary interface implementation

func (*FeeComponent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*FeeComponent) Validate

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

Validate validates this fee component

type FeeComponentList

type FeeComponentList []*FeeComponent

FeeComponentList A list of fee component information.

swagger:model FeeComponentList

func (FeeComponentList) ContextValidate

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

ContextValidate validate this fee component list based on the context it is used

func (FeeComponentList) Validate

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

Validate validates this fee component list

type FinancialEventGroup

type FinancialEventGroup struct {

	// The account tail of the payment instrument.
	AccountTail string `json:"AccountTail,omitempty"`

	// The balance at the beginning of the settlement period.
	BeginningBalance *Currency `json:"BeginningBalance,omitempty"`

	// The total amount in the currency of the marketplace in which the funds were disbursed.
	ConvertedTotal *Currency `json:"ConvertedTotal,omitempty"`

	// The date and time at which the financial event group is closed. In ISO 8601 date time format.
	// Format: date-time
	FinancialEventGroupEnd Date `json:"FinancialEventGroupEnd,omitempty"`

	// A unique identifier for the financial event group.
	FinancialEventGroupID string `json:"FinancialEventGroupId,omitempty"`

	// The date and time at which the financial event group is opened. In ISO 8601 date time format.
	// Format: date-time
	FinancialEventGroupStart Date `json:"FinancialEventGroupStart,omitempty"`

	// The date and time when the disbursement or charge was initiated. Only present for closed settlements. In ISO 8601 date time format.
	// Format: date-time
	FundTransferDate Date `json:"FundTransferDate,omitempty"`

	// The status of the fund transfer.
	FundTransferStatus string `json:"FundTransferStatus,omitempty"`

	// The total amount in the currency of the marketplace in which the transactions occurred.
	OriginalTotal *Currency `json:"OriginalTotal,omitempty"`

	// The processing status of the financial event group indicates whether the balance of the financial event group is settled.
	//
	// Possible values:
	//
	// * Open
	//
	// * Closed
	ProcessingStatus string `json:"ProcessingStatus,omitempty"`

	// The trace identifier used by sellers to look up transactions externally.
	TraceID string `json:"TraceId,omitempty"`
}

FinancialEventGroup Information related to a financial event group.

swagger:model FinancialEventGroup

func (*FinancialEventGroup) ContextValidate

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

ContextValidate validate this financial event group based on the context it is used

func (*FinancialEventGroup) MarshalBinary

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

MarshalBinary interface implementation

func (*FinancialEventGroup) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*FinancialEventGroup) Validate

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

Validate validates this financial event group

type FinancialEventGroupList

type FinancialEventGroupList []*FinancialEventGroup

FinancialEventGroupList A list of financial event group information.

swagger:model FinancialEventGroupList

func (FinancialEventGroupList) ContextValidate

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

ContextValidate validate this financial event group list based on the context it is used

func (FinancialEventGroupList) Validate

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

Validate validates this financial event group list

type FinancialEvents

type FinancialEvents struct {

	// adhoc disbursement event list
	AdhocDisbursementEventList AdhocDisbursementEventList `json:"AdhocDisbursementEventList,omitempty"`

	// adjustment event list
	AdjustmentEventList AdjustmentEventList `json:"AdjustmentEventList,omitempty"`

	// affordability expense event list
	AffordabilityExpenseEventList AffordabilityExpenseEventList `json:"AffordabilityExpenseEventList,omitempty"`

	// affordability expense reversal event list
	AffordabilityExpenseReversalEventList AffordabilityExpenseEventList `json:"AffordabilityExpenseReversalEventList,omitempty"`

	// capacity reservation billing event list
	CapacityReservationBillingEventList CapacityReservationBillingEventList `json:"CapacityReservationBillingEventList,omitempty"`

	// charge refund event list
	ChargeRefundEventList ChargeRefundEventList `json:"ChargeRefundEventList,omitempty"`

	// A list of chargeback events.
	ChargebackEventList ShipmentEventList `json:"ChargebackEventList,omitempty"`

	// coupon payment event list
	CouponPaymentEventList CouponPaymentEventList `json:"CouponPaymentEventList,omitempty"`

	// debt recovery event list
	DebtRecoveryEventList DebtRecoveryEventList `json:"DebtRecoveryEventList,omitempty"`

	// f b a liquidation event list
	FBALiquidationEventList FBALiquidationEventList `json:"FBALiquidationEventList,omitempty"`

	// failed adhoc disbursement event list
	FailedAdhocDisbursementEventList FailedAdhocDisbursementEventList `json:"FailedAdhocDisbursementEventList,omitempty"`

	// A list of guarantee claim events.
	GuaranteeClaimEventList ShipmentEventList `json:"GuaranteeClaimEventList,omitempty"`

	// imaging services fee event list
	ImagingServicesFeeEventList ImagingServicesFeeEventList `json:"ImagingServicesFeeEventList,omitempty"`

	// loan servicing event list
	LoanServicingEventList LoanServicingEventList `json:"LoanServicingEventList,omitempty"`

	// network commingling transaction event list
	NetworkComminglingTransactionEventList NetworkComminglingTransactionEventList `json:"NetworkComminglingTransactionEventList,omitempty"`

	// pay with amazon event list
	PayWithAmazonEventList PayWithAmazonEventList `json:"PayWithAmazonEventList,omitempty"`

	// product ads payment event list
	ProductAdsPaymentEventList ProductAdsPaymentEventList `json:"ProductAdsPaymentEventList,omitempty"`

	// A list of refund events.
	RefundEventList ShipmentEventList `json:"RefundEventList,omitempty"`

	// removal shipment adjustment event list
	RemovalShipmentAdjustmentEventList RemovalShipmentAdjustmentEventList `json:"RemovalShipmentAdjustmentEventList,omitempty"`

	// removal shipment event list
	RemovalShipmentEventList RemovalShipmentEventList `json:"RemovalShipmentEventList,omitempty"`

	// rental transaction event list
	RentalTransactionEventList RentalTransactionEventList `json:"RentalTransactionEventList,omitempty"`

	// retrocharge event list
	RetrochargeEventList RetrochargeEventList `json:"RetrochargeEventList,omitempty"`

	// s a f e t reimbursement event list
	SAFETReimbursementEventList SAFETReimbursementEventList `json:"SAFETReimbursementEventList,omitempty"`

	// seller deal payment event list
	SellerDealPaymentEventList SellerDealPaymentEventList `json:"SellerDealPaymentEventList,omitempty"`

	// seller review enrollment payment event list
	SellerReviewEnrollmentPaymentEventList SellerReviewEnrollmentPaymentEventList `json:"SellerReviewEnrollmentPaymentEventList,omitempty"`

	// service fee event list
	ServiceFeeEventList ServiceFeeEventList `json:"ServiceFeeEventList,omitempty"`

	// service provider credit event list
	ServiceProviderCreditEventList SolutionProviderCreditEventList `json:"ServiceProviderCreditEventList,omitempty"`

	// A list of shipment events.
	ShipmentEventList ShipmentEventList `json:"ShipmentEventList,omitempty"`

	// A list of Shipment Settle events.
	ShipmentSettleEventList ShipmentSettleEventList `json:"ShipmentSettleEventList,omitempty"`

	// t d s reimbursement event list
	TDSReimbursementEventList TDSReimbursementEventList `json:"TDSReimbursementEventList,omitempty"`

	// tax withholding event list
	TaxWithholdingEventList TaxWithholdingEventList `json:"TaxWithholdingEventList,omitempty"`

	// trial shipment event list
	TrialShipmentEventList TrialShipmentEventList `json:"TrialShipmentEventList,omitempty"`

	// value added service charge event list
	ValueAddedServiceChargeEventList ValueAddedServiceChargeEventList `json:"ValueAddedServiceChargeEventList,omitempty"`
}

FinancialEvents Contains all information related to a financial event.

swagger:model FinancialEvents

func (*FinancialEvents) ContextValidate

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

ContextValidate validate this financial events based on the context it is used

func (*FinancialEvents) MarshalBinary

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

MarshalBinary interface implementation

func (*FinancialEvents) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*FinancialEvents) Validate

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

Validate validates this financial events

type ImagingServicesFeeEvent

type ImagingServicesFeeEvent struct {

	// The Amazon Standard Identification Number (ASIN) of the item for which the imaging service was requested.
	ASIN string `json:"ASIN,omitempty"`

	// A list of fees associated with the event.
	FeeList FeeComponentList `json:"FeeList,omitempty"`

	// The identifier for the imaging services request.
	ImagingRequestBillingItemID string `json:"ImagingRequestBillingItemID,omitempty"`

	// The date and time when the financial event was posted.
	// Format: date-time
	PostedDate Date `json:"PostedDate,omitempty"`
}

ImagingServicesFeeEvent A fee event related to Amazon Imaging services.

swagger:model ImagingServicesFeeEvent

func (*ImagingServicesFeeEvent) ContextValidate

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

ContextValidate validate this imaging services fee event based on the context it is used

func (*ImagingServicesFeeEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*ImagingServicesFeeEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ImagingServicesFeeEvent) Validate

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

Validate validates this imaging services fee event

type ImagingServicesFeeEventList

type ImagingServicesFeeEventList []*ImagingServicesFeeEvent

ImagingServicesFeeEventList A list of fee events related to Amazon Imaging services.

swagger:model ImagingServicesFeeEventList

func (ImagingServicesFeeEventList) ContextValidate

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

ContextValidate validate this imaging services fee event list based on the context it is used

func (ImagingServicesFeeEventList) Validate

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

Validate validates this imaging services fee event list

type ListFinancialEventGroupsPayload

type ListFinancialEventGroupsPayload struct {

	// financial event group list
	FinancialEventGroupList FinancialEventGroupList `json:"FinancialEventGroupList,omitempty"`

	// When present and not empty, pass this string token in the next request to return the next response page.
	NextToken string `json:"NextToken,omitempty"`
}

ListFinancialEventGroupsPayload The payload for the listFinancialEventGroups operation.

swagger:model ListFinancialEventGroupsPayload

func (*ListFinancialEventGroupsPayload) ContextValidate

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

ContextValidate validate this list financial event groups payload based on the context it is used

func (*ListFinancialEventGroupsPayload) MarshalBinary

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

MarshalBinary interface implementation

func (*ListFinancialEventGroupsPayload) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListFinancialEventGroupsPayload) Validate

Validate validates this list financial event groups payload

type ListFinancialEventGroupsResponse

type ListFinancialEventGroupsResponse struct {

	// One or more unexpected errors occurred during the listFinancialEventGroups operation.
	Errors ErrorList `json:"errors,omitempty"`

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

ListFinancialEventGroupsResponse The response schema for the listFinancialEventGroups operation.

swagger:model ListFinancialEventGroupsResponse

func (*ListFinancialEventGroupsResponse) ContextValidate

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

ContextValidate validate this list financial event groups response based on the context it is used

func (*ListFinancialEventGroupsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListFinancialEventGroupsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListFinancialEventGroupsResponse) Validate

Validate validates this list financial event groups response

type ListFinancialEventsPayload

type ListFinancialEventsPayload struct {

	// financial events
	FinancialEvents *FinancialEvents `json:"FinancialEvents,omitempty"`

	// When present and not empty, pass this string token in the next request to return the next response page.
	NextToken string `json:"NextToken,omitempty"`
}

ListFinancialEventsPayload The payload for the listFinancialEvents operation.

swagger:model ListFinancialEventsPayload

func (*ListFinancialEventsPayload) ContextValidate

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

ContextValidate validate this list financial events payload based on the context it is used

func (*ListFinancialEventsPayload) MarshalBinary

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

MarshalBinary interface implementation

func (*ListFinancialEventsPayload) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListFinancialEventsPayload) Validate

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

Validate validates this list financial events payload

type ListFinancialEventsResponse

type ListFinancialEventsResponse struct {

	// One or more unexpected errors occurred during the listFinancialEvents operation.
	Errors ErrorList `json:"errors,omitempty"`

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

ListFinancialEventsResponse The response schema for the listFinancialEvents operation.

swagger:model ListFinancialEventsResponse

func (*ListFinancialEventsResponse) ContextValidate

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

ContextValidate validate this list financial events response based on the context it is used

func (*ListFinancialEventsResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ListFinancialEventsResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ListFinancialEventsResponse) Validate

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

Validate validates this list financial events response

type LoanServicingEvent

type LoanServicingEvent struct {

	// The amount of the loan.
	LoanAmount *Currency `json:"LoanAmount,omitempty"`

	// The type of event.
	//
	// Possible values:
	//
	// * LoanAdvance
	//
	// * LoanPayment
	//
	// * LoanRefund
	SourceBusinessEventType string `json:"SourceBusinessEventType,omitempty"`
}

LoanServicingEvent A loan advance, loan payment, or loan refund.

swagger:model LoanServicingEvent

func (*LoanServicingEvent) ContextValidate

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

ContextValidate validate this loan servicing event based on the context it is used

func (*LoanServicingEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*LoanServicingEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*LoanServicingEvent) Validate

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

Validate validates this loan servicing event

type LoanServicingEventList

type LoanServicingEventList []*LoanServicingEvent

LoanServicingEventList A list of loan servicing events.

swagger:model LoanServicingEventList

func (LoanServicingEventList) ContextValidate

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

ContextValidate validate this loan servicing event list based on the context it is used

func (LoanServicingEventList) Validate

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

Validate validates this loan servicing event list

type NetworkComminglingTransactionEvent

type NetworkComminglingTransactionEvent struct {

	// The Amazon Standard Identification Number (ASIN) of the swapped item.
	ASIN string `json:"ASIN,omitempty"`

	// The marketplace in which the event took place.
	MarketplaceID string `json:"MarketplaceId,omitempty"`

	// The identifier for the network item swap.
	NetCoTransactionID string `json:"NetCoTransactionID,omitempty"`

	// The date and time when the financial event was posted.
	// Format: date-time
	PostedDate Date `json:"PostedDate,omitempty"`

	// The reason for the network item swap.
	SwapReason string `json:"SwapReason,omitempty"`

	// The tax on the network item swap paid by the seller.
	TaxAmount *Currency `json:"TaxAmount,omitempty"`

	// The price of the swapped item minus TaxAmount.
	TaxExclusiveAmount *Currency `json:"TaxExclusiveAmount,omitempty"`

	// The type of network item swap.
	//
	// Possible values:
	//
	// * NetCo - A Fulfillment by Amazon inventory pooling transaction. Available only in the India marketplace.
	//
	// * ComminglingVAT - A commingling VAT transaction. Available only in the UK, Spain, France, Germany, and Italy marketplaces.
	TransactionType string `json:"TransactionType,omitempty"`
}

NetworkComminglingTransactionEvent A network commingling transaction event.

swagger:model NetworkComminglingTransactionEvent

func (*NetworkComminglingTransactionEvent) ContextValidate

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

ContextValidate validate this network commingling transaction event based on the context it is used

func (*NetworkComminglingTransactionEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*NetworkComminglingTransactionEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*NetworkComminglingTransactionEvent) Validate

Validate validates this network commingling transaction event

type NetworkComminglingTransactionEventList

type NetworkComminglingTransactionEventList []*NetworkComminglingTransactionEvent

NetworkComminglingTransactionEventList A list of network commingling transaction events.

swagger:model NetworkComminglingTransactionEventList

func (NetworkComminglingTransactionEventList) ContextValidate

ContextValidate validate this network commingling transaction event list based on the context it is used

func (NetworkComminglingTransactionEventList) Validate

Validate validates this network commingling transaction event list

type PayWithAmazonEvent

type PayWithAmazonEvent struct {

	// A short description of this payment event.
	AmountDescription string `json:"AmountDescription,omitempty"`

	// The type of business object.
	BusinessObjectType string `json:"BusinessObjectType,omitempty"`

	// The charge associated with the event.
	Charge *ChargeComponent `json:"Charge,omitempty"`

	// A list of fees associated with the event.
	FeeList FeeComponentList `json:"FeeList,omitempty"`

	// The fulfillment channel.
	//
	// Possible values:
	//
	// * AFN - Amazon Fulfillment Network (Fulfillment by Amazon)
	//
	// * MFN - Merchant Fulfillment Network (self-fulfilled)
	FulfillmentChannel string `json:"FulfillmentChannel,omitempty"`

	// The type of payment.
	//
	// Possible values:
	//
	// * Sales
	PaymentAmountType string `json:"PaymentAmountType,omitempty"`

	// The sales channel for the transaction.
	SalesChannel string `json:"SalesChannel,omitempty"`

	// An order identifier that is specified by the seller.
	SellerOrderID string `json:"SellerOrderId,omitempty"`

	// The store name where the event occurred.
	StoreName string `json:"StoreName,omitempty"`

	// The date and time when the payment transaction is posted. In ISO 8601 date time format.
	// Format: date-time
	TransactionPostedDate Date `json:"TransactionPostedDate,omitempty"`
}

PayWithAmazonEvent An event related to the seller's Pay with Amazon account.

swagger:model PayWithAmazonEvent

func (*PayWithAmazonEvent) ContextValidate

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

ContextValidate validate this pay with amazon event based on the context it is used

func (*PayWithAmazonEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*PayWithAmazonEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*PayWithAmazonEvent) Validate

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

Validate validates this pay with amazon event

type PayWithAmazonEventList

type PayWithAmazonEventList []*PayWithAmazonEvent

PayWithAmazonEventList A list of events related to the seller's Pay with Amazon account.

swagger:model PayWithAmazonEventList

func (PayWithAmazonEventList) ContextValidate

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

ContextValidate validate this pay with amazon event list based on the context it is used

func (PayWithAmazonEventList) Validate

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

Validate validates this pay with amazon event list

type ProductAdsPaymentEvent

type ProductAdsPaymentEvent struct {

	// Base amount of the transaction, before tax.
	BaseValue *Currency `json:"baseValue,omitempty"`

	// Identifier for the invoice that the transaction appears in.
	InvoiceID string `json:"invoiceId,omitempty"`

	// The date and time when the financial event was posted.
	// Format: date-time
	PostedDate Date `json:"postedDate,omitempty"`

	// Tax amount of the transaction.
	TaxValue *Currency `json:"taxValue,omitempty"`

	// Indicates if the transaction is for a charge or a refund.
	//
	// Possible values:
	//
	// * charge - Charge
	//
	// * refund - Refund
	TransactionType string `json:"transactionType,omitempty"`

	// The total amount of the transaction. Equal to baseValue + taxValue.
	TransactionValue *Currency `json:"transactionValue,omitempty"`
}

ProductAdsPaymentEvent A Sponsored Products payment event.

swagger:model ProductAdsPaymentEvent

func (*ProductAdsPaymentEvent) ContextValidate

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

ContextValidate validate this product ads payment event based on the context it is used

func (*ProductAdsPaymentEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*ProductAdsPaymentEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProductAdsPaymentEvent) Validate

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

Validate validates this product ads payment event

type ProductAdsPaymentEventList

type ProductAdsPaymentEventList []*ProductAdsPaymentEvent

ProductAdsPaymentEventList A list of sponsored products payment events.

swagger:model ProductAdsPaymentEventList

func (ProductAdsPaymentEventList) ContextValidate

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

ContextValidate validate this product ads payment event list based on the context it is used

func (ProductAdsPaymentEventList) Validate

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

Validate validates this product ads payment event list

type Promotion

type Promotion struct {

	// The amount of promotional discount applied to the item.
	PromotionAmount *Currency `json:"PromotionAmount,omitempty"`

	// The seller-specified identifier for the promotion.
	PromotionID string `json:"PromotionId,omitempty"`

	// The type of promotion.
	PromotionType string `json:"PromotionType,omitempty"`
}

Promotion A promotion applied to an item.

swagger:model Promotion

func (*Promotion) ContextValidate

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

ContextValidate validate this promotion based on the context it is used

func (*Promotion) MarshalBinary

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

MarshalBinary interface implementation

func (*Promotion) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Promotion) Validate

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

Validate validates this promotion

type PromotionList

type PromotionList []*Promotion

PromotionList A list of promotions.

swagger:model PromotionList

func (PromotionList) ContextValidate

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

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

func (PromotionList) Validate

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

Validate validates this promotion list

type RemovalShipmentAdjustmentEvent

type RemovalShipmentAdjustmentEvent struct {

	// The unique identifier for the adjustment event.
	AdjustmentEventID string `json:"AdjustmentEventId,omitempty"`

	// The merchant removal orderId.
	MerchantOrderID string `json:"MerchantOrderId,omitempty"`

	// The orderId for shipping inventory.
	OrderID string `json:"OrderId,omitempty"`

	// The date when the financial event was posted.
	// Format: date-time
	PostedDate Date `json:"PostedDate,omitempty"`

	// A comma-delimited list of Removal shipmentItemAdjustment details for FBA inventory.
	RemovalShipmentItemAdjustmentList []*RemovalShipmentItemAdjustment `json:"RemovalShipmentItemAdjustmentList"`

	// The type of removal order.
	//
	// Possible values:
	//
	// * WHOLESALE_LIQUIDATION.
	TransactionType string `json:"TransactionType,omitempty"`
}

RemovalShipmentAdjustmentEvent A financial adjustment event for FBA liquidated inventory. A positive value indicates money owed to Amazon by the buyer (for example, when the charge was incorrectly calculated as less than it should be). A negative value indicates a full or partial refund owed to the buyer (for example, when the buyer receives damaged items or fewer items than ordered).

swagger:model RemovalShipmentAdjustmentEvent

func (*RemovalShipmentAdjustmentEvent) ContextValidate

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

ContextValidate validate this removal shipment adjustment event based on the context it is used

func (*RemovalShipmentAdjustmentEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*RemovalShipmentAdjustmentEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RemovalShipmentAdjustmentEvent) Validate

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

Validate validates this removal shipment adjustment event

type RemovalShipmentAdjustmentEventList

type RemovalShipmentAdjustmentEventList []*RemovalShipmentAdjustmentEvent

RemovalShipmentAdjustmentEventList A comma-delimited list of Removal shipmentAdjustment details for FBA inventory.

swagger:model RemovalShipmentAdjustmentEventList

func (RemovalShipmentAdjustmentEventList) ContextValidate

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

ContextValidate validate this removal shipment adjustment event list based on the context it is used

func (RemovalShipmentAdjustmentEventList) Validate

Validate validates this removal shipment adjustment event list

type RemovalShipmentEvent

type RemovalShipmentEvent struct {

	// The merchant removal orderId.
	MerchantOrderID string `json:"MerchantOrderId,omitempty"`

	// The identifier for the removal shipment order.
	OrderID string `json:"OrderId,omitempty"`

	// The date and time when the financial event was posted.
	// Format: date-time
	PostedDate Date `json:"PostedDate,omitempty"`

	// A list of removal shipment items.
	RemovalShipmentItemList RemovalShipmentItemList `json:"RemovalShipmentItemList,omitempty"`

	// The type of removal order.
	//
	// Possible values:
	//
	// * WHOLESALE_LIQUIDATION
	TransactionType string `json:"TransactionType,omitempty"`
}

RemovalShipmentEvent A removal shipment event for a removal order.

swagger:model RemovalShipmentEvent

func (*RemovalShipmentEvent) ContextValidate

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

ContextValidate validate this removal shipment event based on the context it is used

func (*RemovalShipmentEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*RemovalShipmentEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RemovalShipmentEvent) Validate

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

Validate validates this removal shipment event

type RemovalShipmentEventList

type RemovalShipmentEventList []*RemovalShipmentEvent

RemovalShipmentEventList A list of removal shipment event information.

swagger:model RemovalShipmentEventList

func (RemovalShipmentEventList) ContextValidate

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

ContextValidate validate this removal shipment event list based on the context it is used

func (RemovalShipmentEventList) Validate

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

Validate validates this removal shipment event list

type RemovalShipmentItem

type RemovalShipmentItem struct {

	// The fee that Amazon charged to the seller for the removal of the item. The amount is a negative number.
	FeeAmount *Currency `json:"FeeAmount,omitempty"`

	// The Amazon fulfillment network SKU for the item.
	FulfillmentNetworkSKU string `json:"FulfillmentNetworkSKU,omitempty"`

	// The quantity of the item.
	Quantity int32 `json:"Quantity,omitempty"`

	// An identifier for an item in a removal shipment.
	RemovalShipmentItemID string `json:"RemovalShipmentItemId,omitempty"`

	// The total amount paid to the seller for the removed item.
	Revenue *Currency `json:"Revenue,omitempty"`

	// Tax collected on the revenue.
	TaxAmount *Currency `json:"TaxAmount,omitempty"`

	// The tax collection model applied to the item.
	//
	// Possible values:
	//
	// * MarketplaceFacilitator - Tax is withheld and remitted to the taxing authority by Amazon on behalf of the seller.
	//
	// * Standard - Tax is paid to the seller and not remitted to the taxing authority by Amazon.
	TaxCollectionModel string `json:"TaxCollectionModel,omitempty"`

	// The tax withheld and remitted to the taxing authority by Amazon on behalf of the seller. If TaxCollectionModel=MarketplaceFacilitator, then TaxWithheld=TaxAmount (except the TaxWithheld amount is a negative number). Otherwise TaxWithheld=0.
	TaxWithheld *Currency `json:"TaxWithheld,omitempty"`
}

RemovalShipmentItem Item-level information for a removal shipment.

swagger:model RemovalShipmentItem

func (*RemovalShipmentItem) ContextValidate

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

ContextValidate validate this removal shipment item based on the context it is used

func (*RemovalShipmentItem) MarshalBinary

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

MarshalBinary interface implementation

func (*RemovalShipmentItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RemovalShipmentItem) Validate

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

Validate validates this removal shipment item

type RemovalShipmentItemAdjustment

type RemovalShipmentItemAdjustment struct {

	// Adjusted quantity of removal shipmentItemAdjustment items.
	AdjustedQuantity int32 `json:"AdjustedQuantity,omitempty"`

	// The Amazon fulfillment network SKU for the item.
	FulfillmentNetworkSKU string `json:"FulfillmentNetworkSKU,omitempty"`

	// An identifier for an item in a removal shipment.
	RemovalShipmentItemID string `json:"RemovalShipmentItemId,omitempty"`

	// The total amount adjusted for disputed items.
	RevenueAdjustment *Currency `json:"RevenueAdjustment,omitempty"`

	// Adjustment on the Tax collected amount on the adjusted revenue.
	TaxAmountAdjustment *Currency `json:"TaxAmountAdjustment,omitempty"`

	// The tax collection model applied to the item.
	//
	// Possible values:
	//
	// * MarketplaceFacilitator - Tax is withheld and remitted to the taxing authority by Amazon on behalf of the seller.
	//
	// * Standard - Tax is paid to the seller and not remitted to the taxing authority by Amazon.
	TaxCollectionModel string `json:"TaxCollectionModel,omitempty"`

	// Adjustment the tax withheld and remitted to the taxing authority by Amazon on behalf of the seller. If TaxCollectionModel=MarketplaceFacilitator, then TaxWithheld=TaxAmount (except the TaxWithheld amount is a negative number). Otherwise TaxWithheld=0.
	TaxWithheldAdjustment *Currency `json:"TaxWithheldAdjustment,omitempty"`
}

RemovalShipmentItemAdjustment Item-level information for a removal shipment item adjustment.

swagger:model RemovalShipmentItemAdjustment

func (*RemovalShipmentItemAdjustment) ContextValidate

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

ContextValidate validate this removal shipment item adjustment based on the context it is used

func (*RemovalShipmentItemAdjustment) MarshalBinary

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

MarshalBinary interface implementation

func (*RemovalShipmentItemAdjustment) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RemovalShipmentItemAdjustment) Validate

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

Validate validates this removal shipment item adjustment

type RemovalShipmentItemList

type RemovalShipmentItemList []*RemovalShipmentItem

RemovalShipmentItemList A list of information about removal shipment items.

swagger:model RemovalShipmentItemList

func (RemovalShipmentItemList) ContextValidate

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

ContextValidate validate this removal shipment item list based on the context it is used

func (RemovalShipmentItemList) Validate

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

Validate validates this removal shipment item list

type RentalTransactionEvent

type RentalTransactionEvent struct {

	// An Amazon-defined identifier for an order.
	AmazonOrderID string `json:"AmazonOrderId,omitempty"`

	// The number of days that the buyer extended an already rented item. This value is only returned for RentalCustomerPayment-Extension and RentalCustomerRefund-Extension events.
	ExtensionLength int32 `json:"ExtensionLength,omitempty"`

	// The name of the marketplace.
	MarketplaceName string `json:"MarketplaceName,omitempty"`

	// The date and time when the financial event was posted.
	// Format: date-time
	PostedDate Date `json:"PostedDate,omitempty"`

	// A list of charges associated with the rental event.
	RentalChargeList ChargeComponentList `json:"RentalChargeList,omitempty"`

	// The type of rental event.
	//
	// Possible values:
	//
	// * RentalCustomerPayment-Buyout - Transaction type that represents when the customer wants to buy out a rented item.
	//
	// * RentalCustomerPayment-Extension - Transaction type that represents when the customer wants to extend the rental period.
	//
	// * RentalCustomerRefund-Buyout - Transaction type that represents when the customer requests a refund for the buyout of the rented item.
	//
	// * RentalCustomerRefund-Extension - Transaction type that represents when the customer requests a refund over the extension on the rented item.
	//
	// * RentalHandlingFee - Transaction type that represents the fee that Amazon charges sellers who rent through Amazon.
	//
	// * RentalChargeFailureReimbursement - Transaction type that represents when Amazon sends money to the seller to compensate for a failed charge.
	//
	// * RentalLostItemReimbursement - Transaction type that represents when Amazon sends money to the seller to compensate for a lost item.
	RentalEventType string `json:"RentalEventType,omitempty"`

	// A list of fees associated with the rental event.
	RentalFeeList FeeComponentList `json:"RentalFeeList,omitempty"`

	// The amount of money the customer originally paid to rent the item. This value is only returned for RentalChargeFailureReimbursement and RentalLostItemReimbursement events.
	RentalInitialValue *Currency `json:"RentalInitialValue,omitempty"`

	// The amount of money Amazon sends the seller to compensate for a lost item or a failed charge. This value is only returned for RentalChargeFailureReimbursement and RentalLostItemReimbursement events.
	RentalReimbursement *Currency `json:"RentalReimbursement,omitempty"`

	// A list of taxes withheld information for a rental item.
	RentalTaxWithheldList TaxWithheldComponentList `json:"RentalTaxWithheldList,omitempty"`
}

RentalTransactionEvent An event related to a rental transaction.

swagger:model RentalTransactionEvent

func (*RentalTransactionEvent) ContextValidate

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

ContextValidate validate this rental transaction event based on the context it is used

func (*RentalTransactionEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*RentalTransactionEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RentalTransactionEvent) Validate

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

Validate validates this rental transaction event

type RentalTransactionEventList

type RentalTransactionEventList []*RentalTransactionEvent

RentalTransactionEventList A list of rental transaction event information.

swagger:model RentalTransactionEventList

func (RentalTransactionEventList) ContextValidate

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

ContextValidate validate this rental transaction event list based on the context it is used

func (RentalTransactionEventList) Validate

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

Validate validates this rental transaction event list

type RetrochargeEvent

type RetrochargeEvent struct {

	// An Amazon-defined identifier for an order.
	AmazonOrderID string `json:"AmazonOrderId,omitempty"`

	// The base tax associated with the retrocharge event.
	BaseTax *Currency `json:"BaseTax,omitempty"`

	// The name of the marketplace where the retrocharge event occurred.
	MarketplaceName string `json:"MarketplaceName,omitempty"`

	// The date and time when the financial event was posted.
	// Format: date-time
	PostedDate Date `json:"PostedDate,omitempty"`

	// The type of event.
	//
	// Possible values:
	//
	// * Retrocharge
	//
	// * RetrochargeReversal
	RetrochargeEventType string `json:"RetrochargeEventType,omitempty"`

	// A list of information about taxes withheld.
	RetrochargeTaxWithheldList TaxWithheldComponentList `json:"RetrochargeTaxWithheldList,omitempty"`

	// The shipping tax associated with the retrocharge event.
	ShippingTax *Currency `json:"ShippingTax,omitempty"`
}

RetrochargeEvent A retrocharge or retrocharge reversal.

swagger:model RetrochargeEvent

func (*RetrochargeEvent) ContextValidate

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

ContextValidate validate this retrocharge event based on the context it is used

func (*RetrochargeEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*RetrochargeEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RetrochargeEvent) Validate

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

Validate validates this retrocharge event

type RetrochargeEventList

type RetrochargeEventList []*RetrochargeEvent

RetrochargeEventList A list of information about Retrocharge or RetrochargeReversal events.

swagger:model RetrochargeEventList

func (RetrochargeEventList) ContextValidate

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

ContextValidate validate this retrocharge event list based on the context it is used

func (RetrochargeEventList) Validate

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

Validate validates this retrocharge event list

type SAFETReimbursementEvent

type SAFETReimbursementEvent struct {

	// The date and time when the financial event was posted.
	// Format: date-time
	PostedDate Date `json:"PostedDate,omitempty"`

	// Indicates why the seller was reimbursed.
	ReasonCode string `json:"ReasonCode,omitempty"`

	// The amount of the reimbursement.
	ReimbursedAmount *Currency `json:"ReimbursedAmount,omitempty"`

	// A SAFE-T claim identifier.
	SAFETClaimID string `json:"SAFETClaimId,omitempty"`

	// s a f e t reimbursement item list
	SAFETReimbursementItemList SAFETReimbursementItemList `json:"SAFETReimbursementItemList,omitempty"`
}

SAFETReimbursementEvent A SAFE-T claim reimbursement on the seller's account.

swagger:model SAFETReimbursementEvent

func (*SAFETReimbursementEvent) ContextValidate

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

ContextValidate validate this s a f e t reimbursement event based on the context it is used

func (*SAFETReimbursementEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*SAFETReimbursementEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SAFETReimbursementEvent) Validate

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

Validate validates this s a f e t reimbursement event

type SAFETReimbursementEventList

type SAFETReimbursementEventList []*SAFETReimbursementEvent

SAFETReimbursementEventList A list of SAFETReimbursementEvents.

swagger:model SAFETReimbursementEventList

func (SAFETReimbursementEventList) ContextValidate

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

ContextValidate validate this s a f e t reimbursement event list based on the context it is used

func (SAFETReimbursementEventList) Validate

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

Validate validates this s a f e t reimbursement event list

type SAFETReimbursementItem

type SAFETReimbursementItem struct {

	// A list of charges associated with the item.
	ItemChargeList ChargeComponentList `json:"itemChargeList,omitempty"`

	// The description of the item as shown on the product detail page on the retail website.
	ProductDescription string `json:"productDescription,omitempty"`

	// The number of units of the item being reimbursed.
	Quantity string `json:"quantity,omitempty"`
}

SAFETReimbursementItem An item from a SAFE-T claim reimbursement.

swagger:model SAFETReimbursementItem

func (*SAFETReimbursementItem) ContextValidate

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

ContextValidate validate this s a f e t reimbursement item based on the context it is used

func (*SAFETReimbursementItem) MarshalBinary

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

MarshalBinary interface implementation

func (*SAFETReimbursementItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SAFETReimbursementItem) Validate

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

Validate validates this s a f e t reimbursement item

type SAFETReimbursementItemList

type SAFETReimbursementItemList []*SAFETReimbursementItem

SAFETReimbursementItemList A list of SAFETReimbursementItems.

swagger:model SAFETReimbursementItemList

func (SAFETReimbursementItemList) ContextValidate

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

ContextValidate validate this s a f e t reimbursement item list based on the context it is used

func (SAFETReimbursementItemList) Validate

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

Validate validates this s a f e t reimbursement item list

type SellerDealPaymentEvent

type SellerDealPaymentEvent struct {

	// The internal description of the deal.
	DealDescription string `json:"dealDescription,omitempty"`

	// The unique identifier of the deal.
	DealID string `json:"dealId,omitempty"`

	// The type of event: SellerDealComplete.
	EventType string `json:"eventType,omitempty"`

	// The monetary amount of the fee.
	FeeAmount *Currency `json:"feeAmount,omitempty"`

	// The type of fee: RunLightningDealFee.
	FeeType string `json:"feeType,omitempty"`

	// The date and time when the financial event was posted.
	// Format: date-time
	PostedDate Date `json:"postedDate,omitempty"`

	// The monetary amount of the tax applied.
	TaxAmount *Currency `json:"taxAmount,omitempty"`

	// The total monetary amount paid.
	TotalAmount *Currency `json:"totalAmount,omitempty"`
}

SellerDealPaymentEvent An event linked to the payment of a fee related to the specified deal.

swagger:model SellerDealPaymentEvent

func (*SellerDealPaymentEvent) ContextValidate

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

ContextValidate validate this seller deal payment event based on the context it is used

func (*SellerDealPaymentEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*SellerDealPaymentEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SellerDealPaymentEvent) Validate

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

Validate validates this seller deal payment event

type SellerDealPaymentEventList

type SellerDealPaymentEventList []*SellerDealPaymentEvent

SellerDealPaymentEventList A list of payment events for deal-related fees.

swagger:model SellerDealPaymentEventList

func (SellerDealPaymentEventList) ContextValidate

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

ContextValidate validate this seller deal payment event list based on the context it is used

func (SellerDealPaymentEventList) Validate

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

Validate validates this seller deal payment event list

type SellerReviewEnrollmentPaymentEvent

type SellerReviewEnrollmentPaymentEvent struct {

	// charge component
	ChargeComponent *ChargeComponent `json:"ChargeComponent,omitempty"`

	// An enrollment identifier.
	EnrollmentID string `json:"EnrollmentId,omitempty"`

	// fee component
	FeeComponent *FeeComponent `json:"FeeComponent,omitempty"`

	// The Amazon Standard Identification Number (ASIN) of the item that was enrolled in the Early Reviewer Program.
	ParentASIN string `json:"ParentASIN,omitempty"`

	// The date and time when the financial event was posted.
	// Format: date-time
	PostedDate Date `json:"PostedDate,omitempty"`

	// The FeeComponent value plus the ChargeComponent value.
	TotalAmount *Currency `json:"TotalAmount,omitempty"`
}

SellerReviewEnrollmentPaymentEvent A fee payment event for the Early Reviewer Program.

swagger:model SellerReviewEnrollmentPaymentEvent

func (*SellerReviewEnrollmentPaymentEvent) ContextValidate

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

ContextValidate validate this seller review enrollment payment event based on the context it is used

func (*SellerReviewEnrollmentPaymentEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*SellerReviewEnrollmentPaymentEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SellerReviewEnrollmentPaymentEvent) Validate

Validate validates this seller review enrollment payment event

type SellerReviewEnrollmentPaymentEventList

type SellerReviewEnrollmentPaymentEventList []*SellerReviewEnrollmentPaymentEvent

SellerReviewEnrollmentPaymentEventList A list of information about fee events for the Early Reviewer Program.

swagger:model SellerReviewEnrollmentPaymentEventList

func (SellerReviewEnrollmentPaymentEventList) ContextValidate

ContextValidate validate this seller review enrollment payment event list based on the context it is used

func (SellerReviewEnrollmentPaymentEventList) Validate

Validate validates this seller review enrollment payment event list

type ServiceFeeEvent

type ServiceFeeEvent struct {

	// The Amazon Standard Identification Number (ASIN) of the item.
	ASIN string `json:"ASIN,omitempty"`

	// An Amazon-defined identifier for an order.
	AmazonOrderID string `json:"AmazonOrderId,omitempty"`

	// A short description of the service fee event.
	FeeDescription string `json:"FeeDescription,omitempty"`

	// A list of fee components associated with the service fee.
	FeeList FeeComponentList `json:"FeeList,omitempty"`

	// A short description of the service fee reason.
	FeeReason string `json:"FeeReason,omitempty"`

	// A unique identifier assigned by Amazon to products stored in and fulfilled from an Amazon fulfillment center.
	FnSKU string `json:"FnSKU,omitempty"`

	// The seller SKU of the item. The seller SKU is qualified by the seller's seller ID, which is included with every call to the Selling Partner API.
	SellerSKU string `json:"SellerSKU,omitempty"`
}

ServiceFeeEvent A service fee on the seller's account.

swagger:model ServiceFeeEvent

func (*ServiceFeeEvent) ContextValidate

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

ContextValidate validate this service fee event based on the context it is used

func (*ServiceFeeEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceFeeEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceFeeEvent) Validate

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

Validate validates this service fee event

type ServiceFeeEventList

type ServiceFeeEventList []*ServiceFeeEvent

ServiceFeeEventList A list of information about service fee events.

swagger:model ServiceFeeEventList

func (ServiceFeeEventList) ContextValidate

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

ContextValidate validate this service fee event list based on the context it is used

func (ServiceFeeEventList) Validate

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

Validate validates this service fee event list

type ShipmentEvent

type ShipmentEvent struct {

	// An Amazon-defined identifier for an order.
	AmazonOrderID string `json:"AmazonOrderId,omitempty"`

	// A list of transactions where buyers pay Amazon through one of the credit cards offered by Amazon or where buyers pay a seller directly through COD.
	DirectPaymentList DirectPaymentList `json:"DirectPaymentList,omitempty"`

	// The name of the marketplace where the event occurred.
	MarketplaceName string `json:"MarketplaceName,omitempty"`

	// A list of order-level charge adjustments. These adjustments are applicable to Multi-Channel Fulfillment COD orders.
	OrderChargeAdjustmentList ChargeComponentList `json:"OrderChargeAdjustmentList,omitempty"`

	// A list of order-level charges. These charges are applicable to Multi-Channel Fulfillment COD orders.
	OrderChargeList ChargeComponentList `json:"OrderChargeList,omitempty"`

	// A list of order-level fee adjustments. These adjustments are applicable to Multi-Channel Fulfillment orders.
	OrderFeeAdjustmentList FeeComponentList `json:"OrderFeeAdjustmentList,omitempty"`

	// A list of order-level fees. These charges are applicable to Multi-Channel Fulfillment orders.
	OrderFeeList FeeComponentList `json:"OrderFeeList,omitempty"`

	// The date and time when the financial event was posted.
	// Format: date-time
	PostedDate Date `json:"PostedDate,omitempty"`

	// A seller-defined identifier for an order.
	SellerOrderID string `json:"SellerOrderId,omitempty"`

	// A list of shipment-level fee adjustments.
	ShipmentFeeAdjustmentList FeeComponentList `json:"ShipmentFeeAdjustmentList,omitempty"`

	// A list of shipment-level fees.
	ShipmentFeeList FeeComponentList `json:"ShipmentFeeList,omitempty"`

	// A list of shipment item adjustments.
	ShipmentItemAdjustmentList ShipmentItemList `json:"ShipmentItemAdjustmentList,omitempty"`

	// shipment item list
	ShipmentItemList ShipmentItemList `json:"ShipmentItemList,omitempty"`
}

ShipmentEvent A shipment, refund, guarantee claim, or chargeback.

swagger:model ShipmentEvent

func (*ShipmentEvent) ContextValidate

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

ContextValidate validate this shipment event based on the context it is used

func (*ShipmentEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*ShipmentEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ShipmentEvent) Validate

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

Validate validates this shipment event

type ShipmentEventList

type ShipmentEventList []*ShipmentEvent

ShipmentEventList A list of shipment event information.

swagger:model ShipmentEventList

func (ShipmentEventList) ContextValidate

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

ContextValidate validate this shipment event list based on the context it is used

func (ShipmentEventList) Validate

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

Validate validates this shipment event list

type ShipmentItem

type ShipmentItem struct {

	// The cost of Amazon Points granted for a shipment item.
	CostOfPointsGranted *Currency `json:"CostOfPointsGranted,omitempty"`

	// The cost of Amazon Points returned for a shipment item. This value is only returned for refunds, guarantee claims, and chargeback events.
	CostOfPointsReturned *Currency `json:"CostOfPointsReturned,omitempty"`

	// A list of charge adjustments associated with the shipment item. This value is only returned for refunds, guarantee claims, and chargeback events.
	ItemChargeAdjustmentList ChargeComponentList `json:"ItemChargeAdjustmentList,omitempty"`

	// A list of charges associated with the shipment item.
	ItemChargeList ChargeComponentList `json:"ItemChargeList,omitempty"`

	// A list of fee adjustments associated with the shipment item. This value is only returned for refunds, guarantee claims, and chargeback events.
	ItemFeeAdjustmentList FeeComponentList `json:"ItemFeeAdjustmentList,omitempty"`

	// A list of fees associated with the shipment item.
	ItemFeeList FeeComponentList `json:"ItemFeeList,omitempty"`

	// A list of taxes withheld information for a shipment item.
	ItemTaxWithheldList TaxWithheldComponentList `json:"ItemTaxWithheldList,omitempty"`

	// An Amazon-defined order adjustment identifier defined for refunds, guarantee claims, and chargeback events.
	OrderAdjustmentItemID string `json:"OrderAdjustmentItemId,omitempty"`

	// An Amazon-defined order item identifier.
	OrderItemID string `json:"OrderItemId,omitempty"`

	// A list of promotion adjustments associated with the shipment item. This value is only returned for refunds, guarantee claims, and chargeback events.
	PromotionAdjustmentList PromotionList `json:"PromotionAdjustmentList,omitempty"`

	// promotion list
	PromotionList PromotionList `json:"PromotionList,omitempty"`

	// The number of items shipped.
	QuantityShipped int32 `json:"QuantityShipped,omitempty"`

	// The seller SKU of the item. The seller SKU is qualified by the seller's seller ID, which is included with every call to the Selling Partner API.
	SellerSKU string `json:"SellerSKU,omitempty"`
}

ShipmentItem An item of a shipment, refund, guarantee claim, or chargeback.

swagger:model ShipmentItem

func (*ShipmentItem) ContextValidate

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

ContextValidate validate this shipment item based on the context it is used

func (*ShipmentItem) MarshalBinary

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

MarshalBinary interface implementation

func (*ShipmentItem) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ShipmentItem) Validate

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

Validate validates this shipment item

type ShipmentItemList

type ShipmentItemList []*ShipmentItem

ShipmentItemList A list of shipment items.

swagger:model ShipmentItemList

func (ShipmentItemList) ContextValidate

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

ContextValidate validate this shipment item list based on the context it is used

func (ShipmentItemList) Validate

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

Validate validates this shipment item list

type ShipmentSettleEventList

type ShipmentSettleEventList []*ShipmentEvent

ShipmentSettleEventList A list of `ShipmentEvent` items.

swagger:model ShipmentSettleEventList

func (ShipmentSettleEventList) ContextValidate

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

ContextValidate validate this shipment settle event list based on the context it is used

func (ShipmentSettleEventList) Validate

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

Validate validates this shipment settle event list

type SolutionProviderCreditEvent

type SolutionProviderCreditEvent struct {

	// The two-letter country code of the country associated with the marketplace where the order was placed.
	MarketplaceCountryCode string `json:"MarketplaceCountryCode,omitempty"`

	// The identifier of the marketplace where the order was placed.
	MarketplaceID string `json:"MarketplaceId,omitempty"`

	// The Amazon-defined identifier of the solution provider.
	ProviderID string `json:"ProviderId,omitempty"`

	// The store name where the payment event occurred.
	ProviderStoreName string `json:"ProviderStoreName,omitempty"`

	// The transaction type.
	ProviderTransactionType string `json:"ProviderTransactionType,omitempty"`

	// The Amazon-defined identifier of the seller.
	SellerID string `json:"SellerId,omitempty"`

	// A seller-defined identifier for an order.
	SellerOrderID string `json:"SellerOrderId,omitempty"`

	// The store name where the payment event occurred.
	SellerStoreName string `json:"SellerStoreName,omitempty"`

	// The amount of the credit.
	TransactionAmount *Currency `json:"TransactionAmount,omitempty"`

	// The date and time that the credit transaction was created, in ISO 8601 date time format.
	// Format: date-time
	TransactionCreationDate Date `json:"TransactionCreationDate,omitempty"`
}

SolutionProviderCreditEvent A credit given to a solution provider.

swagger:model SolutionProviderCreditEvent

func (*SolutionProviderCreditEvent) ContextValidate

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

ContextValidate validate this solution provider credit event based on the context it is used

func (*SolutionProviderCreditEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*SolutionProviderCreditEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*SolutionProviderCreditEvent) Validate

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

Validate validates this solution provider credit event

type SolutionProviderCreditEventList

type SolutionProviderCreditEventList []*SolutionProviderCreditEvent

SolutionProviderCreditEventList A list of information about solution provider credits.

swagger:model SolutionProviderCreditEventList

func (SolutionProviderCreditEventList) ContextValidate

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

ContextValidate validate this solution provider credit event list based on the context it is used

func (SolutionProviderCreditEventList) Validate

Validate validates this solution provider credit event list

type TDSReimbursementEvent

type TDSReimbursementEvent struct {

	// The date and time when the financial event was posted.
	// Format: date-time
	PostedDate Date `json:"PostedDate,omitempty"`

	// The amount reimbursed.
	ReimbursedAmount *Currency `json:"ReimbursedAmount,omitempty"`

	// The Tax-Deducted-at-Source (TDS) identifier.
	TDSOrderID string `json:"TDSOrderId,omitempty"`
}

TDSReimbursementEvent An event related to a Tax-Deducted-at-Source (TDS) reimbursement.

swagger:model TDSReimbursementEvent

func (*TDSReimbursementEvent) ContextValidate

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

ContextValidate validate this t d s reimbursement event based on the context it is used

func (*TDSReimbursementEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*TDSReimbursementEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TDSReimbursementEvent) Validate

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

Validate validates this t d s reimbursement event

type TDSReimbursementEventList

type TDSReimbursementEventList []*TDSReimbursementEvent

TDSReimbursementEventList A list of `TDSReimbursementEvent` items.

swagger:model TDSReimbursementEventList

func (TDSReimbursementEventList) ContextValidate

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

ContextValidate validate this t d s reimbursement event list based on the context it is used

func (TDSReimbursementEventList) Validate

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

Validate validates this t d s reimbursement event list

type TaxWithheldComponent

type TaxWithheldComponent struct {

	// The tax collection model applied to the item.
	//
	// Possible values:
	//
	// * MarketplaceFacilitator - Tax is withheld and remitted to the taxing authority by Amazon on behalf of the seller.
	//
	// * Standard - Tax is paid to the seller and not remitted to the taxing authority by Amazon.
	TaxCollectionModel string `json:"TaxCollectionModel,omitempty"`

	// A list of charges that represent the types and amounts of taxes withheld.
	TaxesWithheld ChargeComponentList `json:"TaxesWithheld,omitempty"`
}

TaxWithheldComponent Information about the taxes withheld.

swagger:model TaxWithheldComponent

func (*TaxWithheldComponent) ContextValidate

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

ContextValidate validate this tax withheld component based on the context it is used

func (*TaxWithheldComponent) MarshalBinary

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

MarshalBinary interface implementation

func (*TaxWithheldComponent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TaxWithheldComponent) Validate

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

Validate validates this tax withheld component

type TaxWithheldComponentList

type TaxWithheldComponentList []*TaxWithheldComponent

TaxWithheldComponentList A list of information about taxes withheld.

swagger:model TaxWithheldComponentList

func (TaxWithheldComponentList) ContextValidate

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

ContextValidate validate this tax withheld component list based on the context it is used

func (TaxWithheldComponentList) Validate

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

Validate validates this tax withheld component list

type TaxWithholdingEvent

type TaxWithholdingEvent struct {

	// The amount which tax was withheld against.
	BaseAmount *Currency `json:"BaseAmount,omitempty"`

	// The date and time when the financial event was posted.
	// Format: date-time
	PostedDate Date `json:"PostedDate,omitempty"`

	// Time period for which tax is withheld.
	TaxWithholdingPeriod *TaxWithholdingPeriod `json:"TaxWithholdingPeriod,omitempty"`

	// The amount of the tax withholding deducted from seller's account.
	WithheldAmount *Currency `json:"WithheldAmount,omitempty"`
}

TaxWithholdingEvent A TaxWithholding event on seller's account.

swagger:model TaxWithholdingEvent

func (*TaxWithholdingEvent) ContextValidate

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

ContextValidate validate this tax withholding event based on the context it is used

func (*TaxWithholdingEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*TaxWithholdingEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TaxWithholdingEvent) Validate

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

Validate validates this tax withholding event

type TaxWithholdingEventList

type TaxWithholdingEventList []*TaxWithholdingEvent

TaxWithholdingEventList A list of `TaxWithholding` events.

swagger:model TaxWithholdingEventList

func (TaxWithholdingEventList) ContextValidate

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

ContextValidate validate this tax withholding event list based on the context it is used

func (TaxWithholdingEventList) Validate

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

Validate validates this tax withholding event list

type TaxWithholdingPeriod

type TaxWithholdingPeriod struct {

	// End of the time range.
	// Format: date-time
	EndDate Date `json:"EndDate,omitempty"`

	// Start of the time range.
	// Format: date-time
	StartDate Date `json:"StartDate,omitempty"`
}

TaxWithholdingPeriod Period which taxwithholding on seller's account is calculated.

swagger:model TaxWithholdingPeriod

func (*TaxWithholdingPeriod) ContextValidate

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

ContextValidate validate this tax withholding period based on the context it is used

func (*TaxWithholdingPeriod) MarshalBinary

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

MarshalBinary interface implementation

func (*TaxWithholdingPeriod) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TaxWithholdingPeriod) Validate

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

Validate validates this tax withholding period

type TrialShipmentEvent

type TrialShipmentEvent struct {

	// An Amazon-defined identifier for an order.
	AmazonOrderID string `json:"AmazonOrderId,omitempty"`

	// A list of fees charged by Amazon for trial shipments.
	FeeList FeeComponentList `json:"FeeList,omitempty"`

	// The identifier of the financial event group.
	FinancialEventGroupID string `json:"FinancialEventGroupId,omitempty"`

	// The date and time when the financial event was posted.
	// Format: date-time
	PostedDate Date `json:"PostedDate,omitempty"`

	// The seller SKU of the item. The seller SKU is qualified by the seller's seller ID, which is included with every call to the Selling Partner API.
	SKU string `json:"SKU,omitempty"`
}

TrialShipmentEvent An event related to a trial shipment.

swagger:model TrialShipmentEvent

func (*TrialShipmentEvent) ContextValidate

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

ContextValidate validate this trial shipment event based on the context it is used

func (*TrialShipmentEvent) MarshalBinary

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

MarshalBinary interface implementation

func (*TrialShipmentEvent) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*TrialShipmentEvent) Validate

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

Validate validates this trial shipment event

type TrialShipmentEventList

type TrialShipmentEventList []*TrialShipmentEvent

TrialShipmentEventList A list of information about trial shipment financial events.

swagger:model TrialShipmentEventList

func (TrialShipmentEventList) ContextValidate

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

ContextValidate validate this trial shipment event list based on the context it is used

func (TrialShipmentEventList) Validate

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

Validate validates this trial shipment event list

type ValueAddedServiceChargeEvent added in v0.3.0

type ValueAddedServiceChargeEvent struct {

	// A short description of the service charge event.
	Description string `json:"Description,omitempty"`

	// The date and time when the financial event was posted.
	// Format: date-time
	PostedDate Date `json:"PostedDate,omitempty"`

	// The amount of the service charge event.
	TransactionAmount *Currency `json:"TransactionAmount,omitempty"`

	// Indicates the type of transaction.
	//
	// Example: 'Other Support Service fees'
	TransactionType string `json:"TransactionType,omitempty"`
}

ValueAddedServiceChargeEvent An event related to a value added service charge.

swagger:model ValueAddedServiceChargeEvent

func (*ValueAddedServiceChargeEvent) ContextValidate added in v0.3.0

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

ContextValidate validate this value added service charge event based on the context it is used

func (*ValueAddedServiceChargeEvent) MarshalBinary added in v0.3.0

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

MarshalBinary interface implementation

func (*ValueAddedServiceChargeEvent) UnmarshalBinary added in v0.3.0

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

UnmarshalBinary interface implementation

func (*ValueAddedServiceChargeEvent) Validate added in v0.3.0

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

Validate validates this value added service charge event

type ValueAddedServiceChargeEventList

type ValueAddedServiceChargeEventList []*ValueAddedServiceChargeEvent

ValueAddedServiceChargeEventList A list of `ValueAddedServiceCharge` events.

swagger:model ValueAddedServiceChargeEventList

func (ValueAddedServiceChargeEventList) ContextValidate

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

ContextValidate validate this value added service charge event list based on the context it is used

func (ValueAddedServiceChargeEventList) Validate

Validate validates this value added service charge event list

Source Files

Jump to

Keyboard shortcuts

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