Skip to content

Commit

Permalink
Merge pull request #6 from snowballdigital/fix/missing_types
Browse files Browse the repository at this point in the history
fix: missing order types
  • Loading branch information
hakonkrogh authored Aug 23, 2021
2 parents 249a0d1 + 8abc0f0 commit e5eda33
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/api/checkout-v3/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ export interface IOrderBody {
merchant_urls: IMerchantObj;
recurring?: boolean;
shipping_options?: IShippingOption[];
merchant_reference1?: string;
merchant_reference2?: string;
}

export interface IShippingOption {
Expand Down Expand Up @@ -103,6 +105,9 @@ export interface IOrder {
recurring: boolean;
recurring_token: string;
recurring_description: string;
merchant_reference1?: string;
merchant_reference2?: string;
selected_shipping_option?: IShippingOption;
}

export interface IOrderResponse extends IResponse {
Expand Down

0 comments on commit e5eda33

Please sign in to comment.