Skip to content

Commit

Permalink
Merge pull request #216 from late-in-autumn/add_laser_ship_fields
Browse files Browse the repository at this point in the history
feat: add fields to shipment_options required by LaserShip
  • Loading branch information
Justintime50 authored Apr 15, 2024
2 parents e4d3a91 + 0ef0256 commit e97c1da
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions shipment_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@ type ShipmentOptions struct {
CODAddressID string `json:"cod_address_id,omitempty"`
CommercialInvoiceSignature string `json:"commercial_invoice_signature,omitempty"`
CommercialInvoiceLetterhead string `json:"commercial_invoice_letterhead,omitempty"`
ContentDescription string `json:"content_description,omitempty"`
Currency string `json:"currency,omitempty"`
DeliveryConfirmation string `json:"delivery_confirmation,omitempty"`
DeliveryMaxDatetime *DateTime `json:"delivery_max_datetime,omitempty"`
DutyPayment *Payment `json:"duty_payment,omitempty"`
DutyPaymentAccount string `json:"duty_payment_account,omitempty"`
DropoffMaxDatetime *DateTime `json:"dropoff_max_datetime,omitempty"`
DropoffType string `json:"dropoff_type,omitempty"`
DryIce bool `json:"dry_ice,omitempty"`
DryIceMedical bool `json:"dry_ice_medical,omitempty,string"`
Expand All @@ -43,6 +45,7 @@ type ShipmentOptions struct {
Machinable bool `json:"machinable,omitempty"`
Payment *Payment `json:"payment,omitempty"`
PickupMinDatetime *DateTime `json:"pickup_min_datetime,omitempty"`
PickupMaxDatetime *DateTime `json:"pickup_max_datetime,omitempty"`
PrintCustom1 string `json:"print_custom_1,omitempty"`
PrintCustom2 string `json:"print_custom_2,omitempty"`
PrintCustom3 string `json:"print_custom_3,omitempty"`
Expand Down

0 comments on commit e97c1da

Please sign in to comment.