fix: currency code
This commit is contained in:
@@ -48,7 +48,6 @@ export enum PaymentCollectionStatus {
|
||||
}
|
||||
|
||||
type OptionalPaymentCollectionProps =
|
||||
| "currency_code"
|
||||
| "authorized_amount"
|
||||
| "refunded_amount"
|
||||
| "region_id"
|
||||
@@ -63,8 +62,8 @@ export default class PaymentCollection {
|
||||
@PrimaryKey({ columnType: "text" })
|
||||
id: string
|
||||
|
||||
@Property({ columnType: "text", nullable: true })
|
||||
currency_code: string | null
|
||||
@Property({ columnType: "text" })
|
||||
currency_code: string
|
||||
|
||||
@Property({
|
||||
columnType: "numeric",
|
||||
|
||||
@@ -44,7 +44,6 @@ export enum PaymentSessionStatus {
|
||||
}
|
||||
|
||||
type OptionalPaymentSessionProps =
|
||||
| "currency_code"
|
||||
| "data"
|
||||
| "is_selected"
|
||||
| "authorized_at"
|
||||
@@ -57,8 +56,8 @@ export default class PaymentSession {
|
||||
@PrimaryKey({ columnType: "text" })
|
||||
id: string
|
||||
|
||||
@Property({ columnType: "text", nullable: true })
|
||||
currency_code: string | null
|
||||
@Property({ columnType: "text" })
|
||||
currency_code: string
|
||||
|
||||
@Property({
|
||||
columnType: "numeric",
|
||||
|
||||
Reference in New Issue
Block a user