File tree Expand file tree Collapse file tree 5 files changed +87
-1
lines changed
clients/shipment-invoicing-api-v0/src/api-model Expand file tree Collapse file tree 5 files changed +87
-1
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import type { Configuration } from './configuration';
1919import type { AxiosPromise , AxiosInstance , RawAxiosRequestConfig } from 'axios' ;
2020import globalAxios from 'axios' ;
2121
22- export const BASE_PATH = "http ://localhost " . replace ( / \/ + $ / , "" ) ;
22+ export const BASE_PATH = "https ://sellingpartnerapi-na.amazon.com " . replace ( / \/ + $ / , "" ) ;
2323
2424export const COLLECTION_FORMATS = {
2525 csv : "," ,
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ export * from './get-shipment-details-response';
66export * from './marketplace-tax-info' ;
77export * from './model-error' ;
88export * from './money' ;
9+ export * from './payment-information' ;
10+ export * from './payment-method-enum' ;
911export * from './shipment-detail' ;
1012export * from './shipment-invoice-status' ;
1113export * from './shipment-invoice-status-info' ;
Original file line number Diff line number Diff line change 1+ /* tslint:disable */
2+ /* eslint-disable */
3+ /**
4+ * Selling Partner API for Shipment Invoicing
5+ * The Selling Partner API for Shipment Invoicing helps you programmatically retrieve shipment invoice information in the Brazil marketplace for a selling partner’s Fulfillment by Amazon (FBA) orders.
6+ *
7+ * The version of the OpenAPI document: v0
8+ *
9+ *
10+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11+ * https://openapi-generator.tech
12+ * Do not edit the class manually.
13+ */
14+
15+
16+ // May contain unused imports in some cases
17+ // @ts -ignore
18+ import type { Money } from './money' ;
19+ // May contain unused imports in some cases
20+ // @ts -ignore
21+ import type { PaymentMethodEnum } from './payment-method-enum' ;
22+
23+ /**
24+ * Payment transaction information
25+ */
26+ export interface PaymentInformation {
27+ 'PaymentMethod' ?: PaymentMethodEnum ;
28+ /**
29+ * Government ID of acquirer
30+ */
31+ 'AcquirerId' ?: string ;
32+ /**
33+ * Credit card brand (if payment method is CreditCard)
34+ */
35+ 'CardBrand' ?: string ;
36+ 'PaymentValue' ?: Money ;
37+ /**
38+ * Authorization code for this payment
39+ */
40+ 'AuthorizationCode' ?: string ;
41+ }
42+
43+
44+
Original file line number Diff line number Diff line change 1+ /* tslint:disable */
2+ /* eslint-disable */
3+ /**
4+ * Selling Partner API for Shipment Invoicing
5+ * The Selling Partner API for Shipment Invoicing helps you programmatically retrieve shipment invoice information in the Brazil marketplace for a selling partner’s Fulfillment by Amazon (FBA) orders.
6+ *
7+ * The version of the OpenAPI document: v0
8+ *
9+ *
10+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11+ * https://openapi-generator.tech
12+ * Do not edit the class manually.
13+ */
14+
15+
16+
17+ /**
18+ * Payment methods
19+ */
20+
21+ export const PaymentMethodEnum = {
22+ CreditCard : 'CreditCard' ,
23+ DebitCard : 'DebitCard' ,
24+ Pix : 'Pix' ,
25+ BankSlip : 'BankSlip' ,
26+ GiftCard : 'GiftCard' ,
27+ Other : 'Other'
28+ } as const ;
29+
30+ export type PaymentMethodEnum = typeof PaymentMethodEnum [ keyof typeof PaymentMethodEnum ] ;
31+
32+
33+
Original file line number Diff line number Diff line change @@ -24,6 +24,9 @@ import type { BuyerTaxInfo } from './buyer-tax-info';
2424import type { MarketplaceTaxInfo } from './marketplace-tax-info' ;
2525// May contain unused imports in some cases
2626// @ts -ignore
27+ import type { PaymentInformation } from './payment-information' ;
28+ // May contain unused imports in some cases
29+ // @ts -ignore
2730import type { ShipmentItem } from './shipment-item' ;
2831
2932/**
@@ -51,6 +54,10 @@ export interface ShipmentDetail {
5154 * The list of payment method details.
5255 */
5356 'PaymentMethodDetails' ?: Array < string > ;
57+ /**
58+ * List of payment transactions
59+ */
60+ 'Payments' ?: Array < PaymentInformation > ;
5461 /**
5562 * The identifier for the marketplace where the order was placed.
5663 */
You can’t perform that action at this time.
0 commit comments