Versions in this module Expand all Collapse all v1 v1.1.0 Oct 28, 2024 v1.0.9 Oct 28, 2024 Changes in this version + func NewListTransactionsRequest(server string, params *ListTransactionsParams) (*http.Request, error) + type AmazonPayContext struct + Channel *string + OrderType *string + StoreName *string + type BigDecimal = float32 + type Breakdown struct + BreakdownAmount *Currency + BreakdownType *string + Breakdowns *Breakdown + type Breakdowns = []Breakdown + type Client struct + Client HttpRequestDoer + RequestEditors []RequestEditorFn + ResponseEditors []ResponseEditorFn + Server string + UserAgent string + func NewClient(server string, opts ...ClientOption) (*Client, error) + func (c *Client) ListTransactions(ctx context.Context, params *ListTransactionsParams) (*http.Response, error) + type ClientInterface interface + ListTransactions func(ctx context.Context, params *ListTransactionsParams) (*http.Response, error) + type ClientOption func(*Client) error + func WithBaseURL(baseURL string) ClientOption + func WithHTTPClient(doer HttpRequestDoer) ClientOption + func WithRequestEditorFn(fn RequestEditorFn) ClientOption + func WithResponseEditorFn(fn ResponseEditorFn) ClientOption + type ClientWithResponses struct + func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error) + func (c *ClientWithResponses) ListTransactionsWithResponse(ctx context.Context, params *ListTransactionsParams) (*ListTransactionsResp, error) + type ClientWithResponsesInterface interface + ListTransactionsWithResponse func(ctx context.Context, params *ListTransactionsParams) (*ListTransactionsResp, error) + type Context struct + Asin *string + Channel *string + ContextType string + DeferralReason *string + DeferralStatus *string + EndTime *Date + FulfillmentNetwork *string + MaturityDate *Date + OrderType *string + PaymentDate *Date + PaymentMethod *string + PaymentReference *string + PaymentType *string + QuantityShipped *int32 + Sku *string + StartTime *Date + StoreName *string + type Contexts = []Context + type Currency struct + CurrencyAmount *BigDecimal + CurrencyCode *string + type Date = time.Time + type DeferredContext struct + DeferralReason *string + DeferralStatus *string + MaturityDate *Date + type Error struct + Code string + Details *string + Message string + type ErrorList struct + Errors []Error + type HttpRequestDoer interface + Do func(req *http.Request) (*http.Response, error) + type Item struct + Breakdowns *Breakdowns + Contexts *Contexts + Description *string + RelatedIdentifiers *ItemRelatedIdentifiers + TotalAmount *Currency + type ItemRelatedIdentifier struct + ItemRelatedIdentifierName *ItemRelatedIdentifierItemRelatedIdentifierName + ItemRelatedIdentifierValue *string + type ItemRelatedIdentifierItemRelatedIdentifierName string + const COUPONID + const ORDERADJUSTMENTITEMID + const REMOVALSHIPMENTITEMID + const TRANSACTIONID + type ItemRelatedIdentifiers = []ItemRelatedIdentifier + type Items = []Item + type ListTransactionsParams struct + MarketplaceId *string + NextToken *string + PostedAfter time.Time + PostedBefore *time.Time + type ListTransactionsResp struct + Body []byte + HTTPResponse *http.Response + JSON200 *ListTransactionsResponse + JSON400 *ErrorList + JSON403 *ErrorList + JSON404 *ErrorList + JSON413 *ErrorList + JSON415 *ErrorList + JSON429 *ErrorList + JSON500 *ErrorList + JSON503 *ErrorList + func ParseListTransactionsResp(rsp *http.Response) (*ListTransactionsResp, error) + func (r ListTransactionsResp) Status() string + func (r ListTransactionsResp) StatusCode() int + type ListTransactionsResponse struct + NextToken *string + Transactions *Transactions + type MarketplaceDetails struct + MarketplaceId *string + MarketplaceName *string + type PaymentsContext struct + PaymentDate *Date + PaymentMethod *string + PaymentReference *string + PaymentType *string + type ProductContext struct + Asin *string + FulfillmentNetwork *string + QuantityShipped *int32 + Sku *string + type RelatedIdentifier struct + RelatedIdentifierName *RelatedIdentifierRelatedIdentifierName + RelatedIdentifierValue *string + type RelatedIdentifierRelatedIdentifierName string + const DEFERREDTRANSACTIONID + const DISBURSEMENTID + const EVENTGROUPID + const INVOICEID + const ORDERID + const REFUNDID + const SHIPMENTID + const TRANSFERID + type RelatedIdentifiers = []RelatedIdentifier + type RequestEditorFn func(ctx context.Context, req *http.Request) error + type ResponseEditorFn func(ctx context.Context, rsp *http.Response) error + type SellingPartnerMetadata struct + AccountType *string + MarketplaceId *string + SellingPartnerId *string + type TimeRangeContext struct + EndTime *Date + StartTime *Date + type Transaction struct + Breakdowns *Breakdowns + Contexts *Contexts + Description *string + Items *Items + MarketplaceDetails *MarketplaceDetails + PostedDate *Date + RelatedIdentifiers *RelatedIdentifiers + SellingPartnerMetadata *SellingPartnerMetadata + TotalAmount *Currency + TransactionId *string + TransactionStatus *string + TransactionType *string + type Transactions = []Transaction