Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
fix: make name of address different from MerchantFulfillment
Browse files Browse the repository at this point in the history
  • Loading branch information
justinemmanuelmercado committed Jul 7, 2020
1 parent 167110a commit 7e6afb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sections/shipment-invoicing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const AddressType = enumeration(AddressTypeEnum)
* Documentation has this as different from
* MerchantFulfillment's address
*/
export const Address = Codec.interface({
export const ShipmentInvoicingAddress = Codec.interface({
Name: string,
AddressLine1: optional(string),
AddressLine2: optional(string),
Expand Down Expand Up @@ -71,7 +71,7 @@ const ShipmentDetail = Codec.interface({
AmazonOrderId: string,
AmazonShipmentId: string,
PurchaseDate: string,
ShippingAddress: optional(Address),
ShippingAddress: optional(ShipmentInvoicingAddress),
PaymentMethodDetails: ensureArray('PaymentMethodDetail', string),
MarketplaceId: string,
BuyerName: optional(string),
Expand Down

0 comments on commit 7e6afb9

Please sign in to comment.