fix: currency code

This commit is contained in:
fPolic committed 2024-01-15 10:58:31 +01:00
1 parent aabe164793
commit 1d82294ba4
2 files changed
+4 -6

No files matched your search

@@ -48,7 +48,6 @@ export enum PaymentCollectionStatus {
} }
type OptionalPaymentCollectionProps = type OptionalPaymentCollectionProps =
| "currency_code"
| "authorized_amount" | "authorized_amount"
| "refunded_amount" | "refunded_amount"
| "region_id" | "region_id"
@@ -63,8 +62,8 @@ export default class PaymentCollection {
@PrimaryKey({ columnType: "text" }) @PrimaryKey({ columnType: "text" })
id: string id: string
@Property({ columnType: "text", nullable: true }) @Property({ columnType: "text" })
currency_code: string | null currency_code: string
@Property({ @Property({
columnType: "numeric", columnType: "numeric",
@@ -44,7 +44,6 @@ export enum PaymentSessionStatus {
} }
type OptionalPaymentSessionProps = type OptionalPaymentSessionProps =
| "currency_code"
| "data" | "data"
| "is_selected" | "is_selected"
| "authorized_at" | "authorized_at"
@@ -57,8 +56,8 @@ export default class PaymentSession {
@PrimaryKey({ columnType: "text" }) @PrimaryKey({ columnType: "text" })
id: string id: string
@Property({ columnType: "text", nullable: true }) @Property({ columnType: "text" })
currency_code: string | null currency_code: string
@Property({ @Property({
columnType: "numeric", columnType: "numeric",