You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/ch/postfinance/sdk/model/AbstractTokenUpdate.java
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -66,10 +66,10 @@ public AbstractTokenUpdate customerEmailAddress(String customerEmailAddress) {
66
66
}
67
67
68
68
/**
69
-
* The customer email address is the email address of the customer.
69
+
* The customer's email address.
70
70
* @return customerEmailAddress
71
71
**/
72
-
@ApiModelProperty(value = "The customer email address is the email address of the customer.")
72
+
@ApiModelProperty(value = "The customer's email address.")
73
73
publicStringgetCustomerEmailAddress() {
74
74
returncustomerEmailAddress;
75
75
}
@@ -85,10 +85,10 @@ public AbstractTokenUpdate customerId(String customerId) {
85
85
}
86
86
87
87
/**
88
-
* The customer ID identifies the customer in the merchant system. In case the customer ID has been provided it has to correspond with the customer ID provided on the transaction. The customer ID will not be changed automatically. The merchant system has to provide it.
88
+
* The unique identifier of the customer in the external system.
89
89
* @return customerId
90
90
**/
91
-
@ApiModelProperty(value = "The customer ID identifies the customer in the merchant system. In case the customer ID has been provided it has to correspond with the customer ID provided on the transaction. The customer ID will not be changed automatically. The merchant system has to provide it.")
91
+
@ApiModelProperty(value = "The unique identifier of the customer in the external system.")
92
92
publicStringgetCustomerId() {
93
93
returncustomerId;
94
94
}
@@ -104,10 +104,10 @@ public AbstractTokenUpdate enabledForOneClickPayment(Boolean enabledForOneClickP
104
104
}
105
105
106
106
/**
107
-
* When a token is enabled for one-click payments the buyer will be able to select the token within the iFrame or on the payment page to pay with the token. The usage of the token will reduce the number of steps the buyer has to go through. The buyer is linked via the customer ID on the transaction with the token. Means the token will be visible for buyers with the same customer ID. Additionally the payment method has to be configured to allow the one-click payments.
107
+
* Whether the token is enabled for one-click payments, which simplify the payment process for the customer. One-click tokens are linked to customers via the customer ID.
108
108
* @return enabledForOneClickPayment
109
109
**/
110
-
@ApiModelProperty(value = "When a token is enabled for one-click payments the buyer will be able to select the token within the iFrame or on the payment page to pay with the token. The usage of the token will reduce the number of steps the buyer has to go through. The buyer is linked via the customer ID on the transaction with the token. Means the token will be visible for buyers with the same customer ID. Additionally the payment method has to be configured to allow the one-click payments.")
110
+
@ApiModelProperty(value = "Whether the token is enabled for one-click payments, which simplify the payment process for the customer. One-click tokens are linked to customers via the customer ID.")
111
111
publicBooleanisEnabledForOneClickPayment() {
112
112
returnenabledForOneClickPayment;
113
113
}
@@ -142,10 +142,10 @@ public AbstractTokenUpdate timeZone(String timeZone) {
142
142
}
143
143
144
144
/**
145
-
* The time zone defines in which time zone the customer is located in. The time zone may affects how dates are formatted when interacting with the customer.
145
+
* The customer's time zone, which affects how dates and times are formatted when communicating with the customer.
146
146
* @return timeZone
147
147
**/
148
-
@ApiModelProperty(value = "The time zone defines in which time zone the customer is located in. The time zone may affects how dates are formatted when interacting with the customer.")
148
+
@ApiModelProperty(value = "The customer's time zone, which affects how dates and times are formatted when communicating with the customer.")
149
149
publicStringgetTimeZone() {
150
150
returntimeZone;
151
151
}
@@ -161,10 +161,10 @@ public AbstractTokenUpdate tokenReference(String tokenReference) {
161
161
}
162
162
163
163
/**
164
-
* Use something that it is easy to identify and may help you find the token (e.g. customer id, email address).
164
+
* The reference used to identify the payment token (e.g. the customer's ID or email address).
165
165
* @return tokenReference
166
166
**/
167
-
@ApiModelProperty(value = "Use something that it is easy to identify and may help you find the token (e.g. customer id, email address).")
167
+
@ApiModelProperty(value = "The reference used to identify the payment token (e.g. the customer's ID or email address).")
@@ -218,10 +218,10 @@ public AbstractTransactionPending currency(String currency) {
218
218
}
219
219
220
220
/**
221
-
*
221
+
* The three-letter code (ISO 4217 format) of the transaction's currency.
222
222
* @return currency
223
223
**/
224
-
@ApiModelProperty(value = "")
224
+
@ApiModelProperty(value = "The three-letter code (ISO 4217 format) of the transaction's currency.")
225
225
publicStringgetCurrency() {
226
226
returncurrency;
227
227
}
@@ -237,10 +237,10 @@ public AbstractTransactionPending customerEmailAddress(String customerEmailAddre
237
237
}
238
238
239
239
/**
240
-
* The customer email address is the email address of the customer. If no email address is provided on the shipping or billing address this address is used.
240
+
* The customer's email address.
241
241
* @return customerEmailAddress
242
242
**/
243
-
@ApiModelProperty(value = "The customer email address is the email address of the customer. If no email address is provided on the shipping or billing address this address is used.")
243
+
@ApiModelProperty(value = "The customer's email address.")
244
244
publicStringgetCustomerEmailAddress() {
245
245
returncustomerEmailAddress;
246
246
}
@@ -256,10 +256,10 @@ public AbstractTransactionPending customerId(String customerId) {
256
256
}
257
257
258
258
/**
259
-
*
259
+
* The unique identifier of the customer in the external system.
260
260
* @return customerId
261
261
**/
262
-
@ApiModelProperty(value = "")
262
+
@ApiModelProperty(value = "The unique identifier of the customer in the external system.")
263
263
publicStringgetCustomerId() {
264
264
returncustomerId;
265
265
}
@@ -275,10 +275,10 @@ public AbstractTransactionPending failedUrl(String failedUrl) {
275
275
}
276
276
277
277
/**
278
-
* The user will be redirected to failed URL when the transaction could not be authorized or completed. In case no failed URL is specified a default failed page will be displayed.
278
+
* The URL to redirect the customer back to after they canceled or failed to authenticated their payment.
279
279
* @return failedUrl
280
280
**/
281
-
@ApiModelProperty(value = "The user will be redirected to failed URL when the transaction could not be authorized or completed. In case no failed URL is specified a default failed page will be displayed.")
281
+
@ApiModelProperty(value = "The URL to redirect the customer back to after they canceled or failed to authenticated their payment.")
282
282
publicStringgetFailedUrl() {
283
283
returnfailedUrl;
284
284
}
@@ -294,10 +294,10 @@ public AbstractTransactionPending invoiceMerchantReference(String invoiceMerchan
294
294
}
295
295
296
296
/**
297
-
*
297
+
* The merchant's reference used to identify the invoice.
298
298
* @return invoiceMerchantReference
299
299
**/
300
-
@ApiModelProperty(value = "")
300
+
@ApiModelProperty(value = "The merchant's reference used to identify the invoice.")
301
301
publicStringgetInvoiceMerchantReference() {
302
302
returninvoiceMerchantReference;
303
303
}
@@ -340,10 +340,10 @@ public AbstractTransactionPending addLineItemsItem(LineItemCreate lineItemsItem)
340
340
}
341
341
342
342
/**
343
-
*
343
+
* The line items purchased by the customer.
344
344
* @return lineItems
345
345
**/
346
-
@ApiModelProperty(value = "")
346
+
@ApiModelProperty(value = "The line items purchased by the customer.")
347
347
publicList<LineItemCreate> getLineItems() {
348
348
returnlineItems;
349
349
}
@@ -359,10 +359,10 @@ public AbstractTransactionPending merchantReference(String merchantReference) {
359
359
}
360
360
361
361
/**
362
-
*
362
+
* The merchant's reference used to identify the transaction.
363
363
* @return merchantReference
364
364
**/
365
-
@ApiModelProperty(value = "")
365
+
@ApiModelProperty(value = "The merchant's reference used to identify the transaction.")
366
366
publicStringgetMerchantReference() {
367
367
returnmerchantReference;
368
368
}
@@ -405,10 +405,10 @@ public AbstractTransactionPending shippingAddress(AddressCreate shippingAddress)
405
405
}
406
406
407
407
/**
408
-
*
408
+
* The address to where the order will be shipped.
409
409
* @return shippingAddress
410
410
**/
411
-
@ApiModelProperty(value = "")
411
+
@ApiModelProperty(value = "The address to where the order will be shipped.")
412
412
publicAddressCreategetShippingAddress() {
413
413
returnshippingAddress;
414
414
}
@@ -424,10 +424,10 @@ public AbstractTransactionPending shippingMethod(String shippingMethod) {
424
424
}
425
425
426
426
/**
427
-
*
427
+
* The name of the shipping method used to ship the products.
428
428
* @return shippingMethod
429
429
**/
430
-
@ApiModelProperty(value = "")
430
+
@ApiModelProperty(value = "The name of the shipping method used to ship the products.")
431
431
publicStringgetShippingMethod() {
432
432
returnshippingMethod;
433
433
}
@@ -443,10 +443,10 @@ public AbstractTransactionPending successUrl(String successUrl) {
443
443
}
444
444
445
445
/**
446
-
* The user will be redirected to success URL when the transaction could be authorized or completed. In case no success URL is specified a default success page will be displayed.
446
+
* The URL to redirect the customer back to after they successfully authenticated their payment.
447
447
* @return successUrl
448
448
**/
449
-
@ApiModelProperty(value = "The user will be redirected to success URL when the transaction could be authorized or completed. In case no success URL is specified a default success page will be displayed.")
449
+
@ApiModelProperty(value = "The URL to redirect the customer back to after they successfully authenticated their payment.")
450
450
publicStringgetSuccessUrl() {
451
451
returnsuccessUrl;
452
452
}
@@ -462,10 +462,10 @@ public AbstractTransactionPending timeZone(String timeZone) {
462
462
}
463
463
464
464
/**
465
-
* The time zone defines in which time zone the customer is located in. The time zone may affects how dates are formatted when interacting with the customer.
465
+
* The customer's time zone, which affects how dates and times are formatted when communicating with the customer.
466
466
* @return timeZone
467
467
**/
468
-
@ApiModelProperty(value = "The time zone defines in which time zone the customer is located in. The time zone may affects how dates are formatted when interacting with the customer.")
468
+
@ApiModelProperty(value = "The customer's time zone, which affects how dates and times are formatted when communicating with the customer.")
469
469
publicStringgetTimeZone() {
470
470
returntimeZone;
471
471
}
@@ -481,10 +481,10 @@ public AbstractTransactionPending token(Long token) {
481
481
}
482
482
483
483
/**
484
-
*
484
+
* The payment token that should be used to charge the customer.
485
485
* @return token
486
486
**/
487
-
@ApiModelProperty(value = "")
487
+
@ApiModelProperty(value = "The payment token that should be used to charge the customer.")
488
488
publicLonggetToken() {
489
489
returntoken;
490
490
}
@@ -500,10 +500,10 @@ public AbstractTransactionPending tokenizationMode(TokenizationMode tokenization
500
500
}
501
501
502
502
/**
503
-
* The tokenization mode controls if and how the tokenization of payment information is applied to the transaction.
503
+
* The tokenization mode specifies whether and how the tokenization of payment information is applied to the transaction.
504
504
* @return tokenizationMode
505
505
**/
506
-
@ApiModelProperty(value = "The tokenization mode controls if and how the tokenization of payment information is applied to the transaction.")
506
+
@ApiModelProperty(value = "The tokenization mode specifies whether and how the tokenization of payment information is applied to the transaction.")
0 commit comments