Skip to content

Commit

Permalink
fix(subscription-service): support for multi currency
Browse files Browse the repository at this point in the history
support for multi currency

34
  • Loading branch information
Tyagi-Sunny committed Dec 13, 2024
1 parent 2a6e78a commit 059631e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ export class BillingInvoiceController {
country: invoice.shippingAddress?.country ?? '',
}),
options: invoice.options,
currencyCode:invoice.currencyCode
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ export class InvoiceDto extends Model {
})
customerId: string;

@property({
type: 'string',
name: 'currency_code',
})
currencyCode: string;

@property({
type: 'object',
})
Expand All @@ -44,6 +50,8 @@ export class InvoiceDto extends Model {
})
status?: InvoiceStatus;



constructor(data?: Partial<InvoiceDto>) {
super(data);
}
Expand Down

0 comments on commit 059631e

Please sign in to comment.