Skip to content

Commit

Permalink
feat: add marketplace tax info and seller display name in shipment in…
Browse files Browse the repository at this point in the history
…voice

Co-authored-by: nguyentoanit <nguyentoanit@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and nguyentoanit authored Jul 8, 2021
1 parent 204a532 commit f4d8f13
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/api-models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -851,6 +851,7 @@ export {
BuyerTaxInfo as ShipmentInvoicingApiModelBuyerTaxInfo,
GetInvoiceStatusResponse as ShipmentInvoicingApiModelGetInvoiceStatusResponse,
GetShipmentDetailsResponse as ShipmentInvoicingApiModelGetShipmentDetailsResponse,
MarketplaceTaxInfo as ShipmentInvoicingApiModelMarketplaceTaxInfo,
ModelError as ShipmentInvoicingApiModelModelError,
Money as ShipmentInvoicingApiModelMoney,
ShipmentDetail as ShipmentInvoicingApiModelShipmentDetail,
Expand Down
37 changes: 37 additions & 0 deletions src/api-models/shipment-invoicing-api-model/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,31 @@ export interface GetShipmentDetailsResponse {
*/
errors?: Array<Error>;
}
/**
* Tax information about the marketplace.
* @export
* @interface MarketplaceTaxInfo
*/
export interface MarketplaceTaxInfo {
/**
* The legal name of the company.
* @type {string}
* @memberof MarketplaceTaxInfo
*/
CompanyLegalName?: string;
/**
* The country or region imposing the tax.
* @type {string}
* @memberof MarketplaceTaxInfo
*/
TaxingRegion?: string;
/**
* The list of tax classifications.
* @type {Array<TaxClassification>}
* @memberof MarketplaceTaxInfo
*/
TaxClassifications?: Array<TaxClassification>;
}
/**
* An error response returned when the request is unsuccessful.
* @export
Expand Down Expand Up @@ -289,6 +314,18 @@ export interface ShipmentDetail {
* @memberof ShipmentDetail
*/
BuyerTaxInfo?: BuyerTaxInfo;
/**
*
* @type {MarketplaceTaxInfo}
* @memberof ShipmentDetail
*/
MarketplaceTaxInfo?: MarketplaceTaxInfo;
/**
* The seller’s friendly name registered in the marketplace.
* @type {string}
* @memberof ShipmentDetail
*/
SellerDisplayName?: string;
/**
* A list of shipment items.
* @type {Array<ShipmentItem>}
Expand Down

0 comments on commit f4d8f13

Please sign in to comment.