react-native-payengine 2.0.18-alpha.3 → 2.0.18-alpha.5
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.
- package/android/build.gradle +2 -2
- package/ios/PayEngineSDK.xcframework/Info.plist +4 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Headers/PayEngineSDK-Swift.h +31 -29
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Info.plist +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios.abi.json +1250 -60
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +65 -4
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios.private.swiftinterface-e +65 -4
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios.swiftinterface +65 -4
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios.swiftinterface-e +65 -4
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/PayEngineSDK +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/VGSCollectSDK_VGSCollectSDK.bundle/Assets.car +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/PayEngineSDK.framework/VGSCollectSDK_VGSCollectSDK.bundle/Info.plist +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/dSYMs/PayEngineSDK.framework.dSYM/Contents/Info.plist +20 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/dSYMs/PayEngineSDK.framework.dSYM/Contents/Resources/DWARF/PayEngineSDK +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64/dSYMs/PayEngineSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/PayEngineSDK.yml +3257 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Headers/PayEngineSDK-Swift.h +62 -58
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Info.plist +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +1250 -60
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +65 -4
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface-e +65 -4
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +65 -4
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface-e +65 -4
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +1250 -60
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +65 -4
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface-e +65 -4
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +65 -4
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/Modules/PayEngineSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface-e +65 -4
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/PayEngineSDK +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/VGSCollectSDK_VGSCollectSDK.bundle/Assets.car +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/PayEngineSDK.framework/VGSCollectSDK_VGSCollectSDK.bundle/Info.plist +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/PayEngineSDK.framework.dSYM/Contents/Info.plist +20 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/PayEngineSDK.framework.dSYM/Contents/Resources/DWARF/PayEngineSDK +0 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/PayEngineSDK.framework.dSYM/Contents/Resources/Relocations/aarch64/PayEngineSDK.yml +3253 -0
- package/ios/PayEngineSDK.xcframework/ios-arm64_x86_64-simulator/dSYMs/PayEngineSDK.framework.dSYM/Contents/Resources/Relocations/x86_64/PayEngineSDK.yml +3224 -0
- package/lib/commonjs/components/v2/SecureFields/PECard.js.map +1 -1
- package/lib/module/components/v2/SecureFields/PECard.js.map +1 -1
- package/lib/typescript/components/v2/SecureFields/PECard.d.ts +65 -1
- package/package.json +1 -1
- package/src/components/v2/SecureFields/PECard.ts +82 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["PECard.ts"],"sourcesContent":["/**\n * Represents a payment card stored with PayEngine.\n *\n * This interface contains a secure token and associated card details,\n * ensuring sensitive payment information is securely managed within the system.\n *\n * @category SecureFields\n */\ninterface PECard {\n /**\n * A secure token representing the card.\n *\n * This token is used to safely reference the card in API operations without exposing raw card data.\n */\n token: string;\n\n /**\n * The associated card details.\n *\n * Includes essential information such as brand, expiration date,\n * the last four digits, cardholder name, and optional billing
|
|
1
|
+
{"version":3,"names":[],"sources":["PECard.ts"],"sourcesContent":["/**\n * Represents a payment card stored with PayEngine.\n *\n * This interface contains a secure token and associated card details,\n * ensuring sensitive payment information is securely managed within the system.\n *\n * @category SecureFields\n */\ninterface PECard {\n /**\n * A secure token representing the card.\n *\n * This token is used to safely reference the card in API operations without exposing raw card data.\n */\n token: string;\n\n /**\n * The environment in which the card was created (e.g., \"sandbox\", \"production\").\n */\n env?: string;\n\n /**\n * The associated card details.\n *\n * Includes essential information such as brand, expiration date,\n * the last four digits, cardholder name, and optional billing fields.\n */\n card_data: {\n /**\n * A unique identifier for the card.\n *\n * This ID is typically used to reference the card object in system operations.\n */\n id: string;\n\n /**\n * The merchant identifier associated with the card.\n */\n merchant_id?: string;\n\n /**\n * The brand of the card (e.g., Visa, MasterCard).\n */\n brand: string;\n\n /**\n * The last four digits of the card number.\n *\n * Useful for displaying or confirming the card to the user.\n */\n last_4: string;\n\n /**\n * The expiration year of the card.\n */\n exp_year: string;\n\n /**\n * The expiration month of the card.\n */\n exp_month: string;\n\n /**\n * The name of the cardholder.\n */\n name: string;\n\n /**\n * The email address associated with the cardholder (optional).\n */\n email?: string;\n\n /**\n * The phone number associated with the cardholder (optional).\n */\n phone_number?: string;\n\n /**\n * The ZIP code associated with the card's billing address (optional).\n */\n address_zip?: string;\n\n /**\n * Whether surcharge is allowed for this card (optional).\n */\n surcharge_allowed?: boolean;\n\n /**\n * Whether network tokenization was applied (optional).\n */\n network_tokenize?: boolean;\n\n /**\n * The first line of the billing address (optional).\n */\n address_line1?: string;\n\n /**\n * The second line of the billing address (optional).\n */\n address_line2?: string;\n\n /**\n * The country of the billing address (optional).\n */\n address_country?: string;\n\n /**\n * The city of the billing address (optional).\n */\n address_city?: string;\n\n /**\n * The state or region of the billing address (optional).\n */\n address_state?: string;\n\n /**\n * Whether the payment method is stored for future use (optional).\n */\n store_payment_method?: boolean;\n\n /**\n * The expiration date of the card token (optional).\n */\n expires_at?: string;\n\n /**\n * The country of origin for the card (optional).\n */\n country?: string;\n\n /**\n * The type of the card, e.g., \"credit\" or \"debit\" (optional).\n */\n type?: string;\n\n /**\n * Whether the card has prepaid/HSA benefits (optional).\n */\n prepaid_benefits?: boolean;\n };\n}\n\n\nexport default PECard;\n"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":["PECard.ts"],"sourcesContent":["/**\n * Represents a payment card stored with PayEngine.\n *\n * This interface contains a secure token and associated card details,\n * ensuring sensitive payment information is securely managed within the system.\n *\n * @category SecureFields\n */\ninterface PECard {\n /**\n * A secure token representing the card.\n *\n * This token is used to safely reference the card in API operations without exposing raw card data.\n */\n token: string;\n\n /**\n * The associated card details.\n *\n * Includes essential information such as brand, expiration date,\n * the last four digits, cardholder name, and optional billing
|
|
1
|
+
{"version":3,"names":[],"sources":["PECard.ts"],"sourcesContent":["/**\n * Represents a payment card stored with PayEngine.\n *\n * This interface contains a secure token and associated card details,\n * ensuring sensitive payment information is securely managed within the system.\n *\n * @category SecureFields\n */\ninterface PECard {\n /**\n * A secure token representing the card.\n *\n * This token is used to safely reference the card in API operations without exposing raw card data.\n */\n token: string;\n\n /**\n * The environment in which the card was created (e.g., \"sandbox\", \"production\").\n */\n env?: string;\n\n /**\n * The associated card details.\n *\n * Includes essential information such as brand, expiration date,\n * the last four digits, cardholder name, and optional billing fields.\n */\n card_data: {\n /**\n * A unique identifier for the card.\n *\n * This ID is typically used to reference the card object in system operations.\n */\n id: string;\n\n /**\n * The merchant identifier associated with the card.\n */\n merchant_id?: string;\n\n /**\n * The brand of the card (e.g., Visa, MasterCard).\n */\n brand: string;\n\n /**\n * The last four digits of the card number.\n *\n * Useful for displaying or confirming the card to the user.\n */\n last_4: string;\n\n /**\n * The expiration year of the card.\n */\n exp_year: string;\n\n /**\n * The expiration month of the card.\n */\n exp_month: string;\n\n /**\n * The name of the cardholder.\n */\n name: string;\n\n /**\n * The email address associated with the cardholder (optional).\n */\n email?: string;\n\n /**\n * The phone number associated with the cardholder (optional).\n */\n phone_number?: string;\n\n /**\n * The ZIP code associated with the card's billing address (optional).\n */\n address_zip?: string;\n\n /**\n * Whether surcharge is allowed for this card (optional).\n */\n surcharge_allowed?: boolean;\n\n /**\n * Whether network tokenization was applied (optional).\n */\n network_tokenize?: boolean;\n\n /**\n * The first line of the billing address (optional).\n */\n address_line1?: string;\n\n /**\n * The second line of the billing address (optional).\n */\n address_line2?: string;\n\n /**\n * The country of the billing address (optional).\n */\n address_country?: string;\n\n /**\n * The city of the billing address (optional).\n */\n address_city?: string;\n\n /**\n * The state or region of the billing address (optional).\n */\n address_state?: string;\n\n /**\n * Whether the payment method is stored for future use (optional).\n */\n store_payment_method?: boolean;\n\n /**\n * The expiration date of the card token (optional).\n */\n expires_at?: string;\n\n /**\n * The country of origin for the card (optional).\n */\n country?: string;\n\n /**\n * The type of the card, e.g., \"credit\" or \"debit\" (optional).\n */\n type?: string;\n\n /**\n * Whether the card has prepaid/HSA benefits (optional).\n */\n prepaid_benefits?: boolean;\n };\n}\n\n\nexport default PECard;\n"],"mappings":""}
|
|
@@ -13,11 +13,15 @@ interface PECard {
|
|
|
13
13
|
* This token is used to safely reference the card in API operations without exposing raw card data.
|
|
14
14
|
*/
|
|
15
15
|
token: string;
|
|
16
|
+
/**
|
|
17
|
+
* The environment in which the card was created (e.g., "sandbox", "production").
|
|
18
|
+
*/
|
|
19
|
+
env?: string;
|
|
16
20
|
/**
|
|
17
21
|
* The associated card details.
|
|
18
22
|
*
|
|
19
23
|
* Includes essential information such as brand, expiration date,
|
|
20
|
-
* the last four digits, cardholder name, and optional billing
|
|
24
|
+
* the last four digits, cardholder name, and optional billing fields.
|
|
21
25
|
*/
|
|
22
26
|
card_data: {
|
|
23
27
|
/**
|
|
@@ -26,6 +30,10 @@ interface PECard {
|
|
|
26
30
|
* This ID is typically used to reference the card object in system operations.
|
|
27
31
|
*/
|
|
28
32
|
id: string;
|
|
33
|
+
/**
|
|
34
|
+
* The merchant identifier associated with the card.
|
|
35
|
+
*/
|
|
36
|
+
merchant_id?: string;
|
|
29
37
|
/**
|
|
30
38
|
* The brand of the card (e.g., Visa, MasterCard).
|
|
31
39
|
*/
|
|
@@ -48,10 +56,66 @@ interface PECard {
|
|
|
48
56
|
* The name of the cardholder.
|
|
49
57
|
*/
|
|
50
58
|
name: string;
|
|
59
|
+
/**
|
|
60
|
+
* The email address associated with the cardholder (optional).
|
|
61
|
+
*/
|
|
62
|
+
email?: string;
|
|
63
|
+
/**
|
|
64
|
+
* The phone number associated with the cardholder (optional).
|
|
65
|
+
*/
|
|
66
|
+
phone_number?: string;
|
|
51
67
|
/**
|
|
52
68
|
* The ZIP code associated with the card's billing address (optional).
|
|
53
69
|
*/
|
|
54
70
|
address_zip?: string;
|
|
71
|
+
/**
|
|
72
|
+
* Whether surcharge is allowed for this card (optional).
|
|
73
|
+
*/
|
|
74
|
+
surcharge_allowed?: boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Whether network tokenization was applied (optional).
|
|
77
|
+
*/
|
|
78
|
+
network_tokenize?: boolean;
|
|
79
|
+
/**
|
|
80
|
+
* The first line of the billing address (optional).
|
|
81
|
+
*/
|
|
82
|
+
address_line1?: string;
|
|
83
|
+
/**
|
|
84
|
+
* The second line of the billing address (optional).
|
|
85
|
+
*/
|
|
86
|
+
address_line2?: string;
|
|
87
|
+
/**
|
|
88
|
+
* The country of the billing address (optional).
|
|
89
|
+
*/
|
|
90
|
+
address_country?: string;
|
|
91
|
+
/**
|
|
92
|
+
* The city of the billing address (optional).
|
|
93
|
+
*/
|
|
94
|
+
address_city?: string;
|
|
95
|
+
/**
|
|
96
|
+
* The state or region of the billing address (optional).
|
|
97
|
+
*/
|
|
98
|
+
address_state?: string;
|
|
99
|
+
/**
|
|
100
|
+
* Whether the payment method is stored for future use (optional).
|
|
101
|
+
*/
|
|
102
|
+
store_payment_method?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* The expiration date of the card token (optional).
|
|
105
|
+
*/
|
|
106
|
+
expires_at?: string;
|
|
107
|
+
/**
|
|
108
|
+
* The country of origin for the card (optional).
|
|
109
|
+
*/
|
|
110
|
+
country?: string;
|
|
111
|
+
/**
|
|
112
|
+
* The type of the card, e.g., "credit" or "debit" (optional).
|
|
113
|
+
*/
|
|
114
|
+
type?: string;
|
|
115
|
+
/**
|
|
116
|
+
* Whether the card has prepaid/HSA benefits (optional).
|
|
117
|
+
*/
|
|
118
|
+
prepaid_benefits?: boolean;
|
|
55
119
|
};
|
|
56
120
|
}
|
|
57
121
|
export default PECard;
|
package/package.json
CHANGED
|
@@ -14,11 +14,16 @@ interface PECard {
|
|
|
14
14
|
*/
|
|
15
15
|
token: string;
|
|
16
16
|
|
|
17
|
+
/**
|
|
18
|
+
* The environment in which the card was created (e.g., "sandbox", "production").
|
|
19
|
+
*/
|
|
20
|
+
env?: string;
|
|
21
|
+
|
|
17
22
|
/**
|
|
18
23
|
* The associated card details.
|
|
19
24
|
*
|
|
20
25
|
* Includes essential information such as brand, expiration date,
|
|
21
|
-
* the last four digits, cardholder name, and optional billing
|
|
26
|
+
* the last four digits, cardholder name, and optional billing fields.
|
|
22
27
|
*/
|
|
23
28
|
card_data: {
|
|
24
29
|
/**
|
|
@@ -28,6 +33,11 @@ interface PECard {
|
|
|
28
33
|
*/
|
|
29
34
|
id: string;
|
|
30
35
|
|
|
36
|
+
/**
|
|
37
|
+
* The merchant identifier associated with the card.
|
|
38
|
+
*/
|
|
39
|
+
merchant_id?: string;
|
|
40
|
+
|
|
31
41
|
/**
|
|
32
42
|
* The brand of the card (e.g., Visa, MasterCard).
|
|
33
43
|
*/
|
|
@@ -55,12 +65,82 @@ interface PECard {
|
|
|
55
65
|
*/
|
|
56
66
|
name: string;
|
|
57
67
|
|
|
68
|
+
/**
|
|
69
|
+
* The email address associated with the cardholder (optional).
|
|
70
|
+
*/
|
|
71
|
+
email?: string;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* The phone number associated with the cardholder (optional).
|
|
75
|
+
*/
|
|
76
|
+
phone_number?: string;
|
|
77
|
+
|
|
58
78
|
/**
|
|
59
79
|
* The ZIP code associated with the card's billing address (optional).
|
|
60
80
|
*/
|
|
61
81
|
address_zip?: string;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Whether surcharge is allowed for this card (optional).
|
|
85
|
+
*/
|
|
86
|
+
surcharge_allowed?: boolean;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Whether network tokenization was applied (optional).
|
|
90
|
+
*/
|
|
91
|
+
network_tokenize?: boolean;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* The first line of the billing address (optional).
|
|
95
|
+
*/
|
|
96
|
+
address_line1?: string;
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* The second line of the billing address (optional).
|
|
100
|
+
*/
|
|
101
|
+
address_line2?: string;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* The country of the billing address (optional).
|
|
105
|
+
*/
|
|
106
|
+
address_country?: string;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* The city of the billing address (optional).
|
|
110
|
+
*/
|
|
111
|
+
address_city?: string;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* The state or region of the billing address (optional).
|
|
115
|
+
*/
|
|
116
|
+
address_state?: string;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Whether the payment method is stored for future use (optional).
|
|
120
|
+
*/
|
|
121
|
+
store_payment_method?: boolean;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* The expiration date of the card token (optional).
|
|
125
|
+
*/
|
|
126
|
+
expires_at?: string;
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* The country of origin for the card (optional).
|
|
130
|
+
*/
|
|
131
|
+
country?: string;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* The type of the card, e.g., "credit" or "debit" (optional).
|
|
135
|
+
*/
|
|
136
|
+
type?: string;
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Whether the card has prepaid/HSA benefits (optional).
|
|
140
|
+
*/
|
|
141
|
+
prepaid_benefits?: boolean;
|
|
62
142
|
};
|
|
63
143
|
}
|
|
64
144
|
|
|
65
145
|
|
|
66
|
-
export default PECard;
|
|
146
|
+
export default PECard;
|