@natrave/shared-entities 1.4.96 → 1.4.97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6,6 +6,10 @@ export declare class Payment {
|
|
|
6
6
|
id: number;
|
|
7
7
|
externalId?: string;
|
|
8
8
|
amount: number;
|
|
9
|
+
billingDocument?: string;
|
|
10
|
+
billingName?: string;
|
|
11
|
+
billingPhone?: string;
|
|
12
|
+
billingAddressId?: number;
|
|
9
13
|
paymentMethod: PaymentMethod;
|
|
10
14
|
status: PaymentStatus;
|
|
11
15
|
paymentProviderName: PaymentProviderName;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment.entity.d.ts","sourceRoot":"","sources":["../../../src/payments/payments/payment.entity.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAY5D,qBACa,OAAO;IAIlB,EAAE,EAAE,MAAM,CAAC;IASX,UAAU,CAAC,EAAE,MAAM,CAAC;IAMpB,MAAM,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"payment.entity.d.ts","sourceRoot":"","sources":["../../../src/payments/payments/payment.entity.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAY5D,qBACa,OAAO;IAIlB,EAAE,EAAE,MAAM,CAAC;IASX,UAAU,CAAC,EAAE,MAAM,CAAC;IAMpB,MAAM,EAAE,MAAM,CAAC;IASf,eAAe,CAAC,EAAE,MAAM,CAAC;IASzB,WAAW,CAAC,EAAE,MAAM,CAAC;IASrB,YAAY,CAAC,EAAE,MAAM,CAAC;IAQtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAQ1B,aAAa,EAAE,aAAa,CAAC;IAS7B,MAAM,EAAE,aAAa,CAAC;IAUtB,mBAAmB,EAAE,mBAAmB,CAAC;IAQzC,SAAS,CAAC,EAAE,MAAM,CAAC;IAQnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAQhB,SAAS,CAAC,EAAE,IAAI,CAAC;IAQjB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAQ3B,WAAW,CAAC,EAAE,MAAM,CAAC;IAOrB,SAAS,EAAE,IAAI,CAAC;IAOhB,SAAS,EAAE,IAAI,CAAC;IAUhB,kBAAkB,EAAE,iBAAiB,EAAE,CAAC;CACzC"}
|
|
@@ -42,6 +42,41 @@ __decorateClass([
|
|
|
42
42
|
comment: "Valor do pagamento em centavos."
|
|
43
43
|
})
|
|
44
44
|
], Payment.prototype, "amount", 2);
|
|
45
|
+
__decorateClass([
|
|
46
|
+
Column({
|
|
47
|
+
name: "billing_document",
|
|
48
|
+
type: "varchar",
|
|
49
|
+
length: 20,
|
|
50
|
+
nullable: true,
|
|
51
|
+
comment: "Documento fiscal (CPF ou CNPJ) usado neste pagamento."
|
|
52
|
+
})
|
|
53
|
+
], Payment.prototype, "billingDocument", 2);
|
|
54
|
+
__decorateClass([
|
|
55
|
+
Column({
|
|
56
|
+
name: "billing_name",
|
|
57
|
+
type: "varchar",
|
|
58
|
+
length: 255,
|
|
59
|
+
nullable: true,
|
|
60
|
+
comment: "Nome ou raz\xE3o social usado neste pagamento."
|
|
61
|
+
})
|
|
62
|
+
], Payment.prototype, "billingName", 2);
|
|
63
|
+
__decorateClass([
|
|
64
|
+
Column({
|
|
65
|
+
name: "billing_phone",
|
|
66
|
+
type: "varchar",
|
|
67
|
+
length: 20,
|
|
68
|
+
nullable: true,
|
|
69
|
+
comment: "Telefone usado neste pagamento."
|
|
70
|
+
})
|
|
71
|
+
], Payment.prototype, "billingPhone", 2);
|
|
72
|
+
__decorateClass([
|
|
73
|
+
Column({
|
|
74
|
+
name: "billing_address_id",
|
|
75
|
+
type: "int",
|
|
76
|
+
nullable: true,
|
|
77
|
+
comment: "Identificador do endere\xE7o de cobran\xE7a usado neste pagamento."
|
|
78
|
+
})
|
|
79
|
+
], Payment.prototype, "billingAddressId", 2);
|
|
45
80
|
__decorateClass([
|
|
46
81
|
Column({
|
|
47
82
|
name: "payment_method",
|