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: commercetools/commercetools-sdk-java-checkout/src/main/java-generated/com/commercetools/checkout/models/payment_intents/PaymentIntentAction.java
* <p>Depending on the action specified, Checkout requests the <span>payment service provider</span> (PSP) or gift card management system to capture, refund, or cancel the authorization for the given Payment.</p>
21
19
*
22
20
* <hr>
23
-
* Example to create an instance using the builder pattern
21
+
* Example to create a subtype instance using the builder pattern
@@ -41,64 +39,6 @@ public interface PaymentIntentAction {
41
39
@JsonProperty("action")
42
40
publicPaymentIntentOperationgetAction();
43
41
44
-
/**
45
-
* <p>Amount to be captured or refunded.</p>
46
-
* @return amount
47
-
*/
48
-
@Valid
49
-
@JsonProperty("amount")
50
-
publicAmountgetAmount();
51
-
52
-
/**
53
-
* <p>A merchant-defined identifier associated with the Payment to track and reconcile the Payment Intent Action on the merchant's side. For example, an invoice number.</p>
54
-
* @return merchantReference
55
-
*/
56
-
57
-
@JsonProperty("merchantReference")
58
-
publicStringgetMerchantReference();
59
-
60
-
/**
61
-
* <p>Action to execute for the given <span>Payment</span>.</p>
* <p>A merchant-defined identifier associated with the Payment to track and reconcile the Payment Intent Action on the merchant's side. For example, an invoice number.</p>
Copy file name to clipboardExpand all lines: commercetools/commercetools-sdk-java-checkout/src/main/java-generated/com/commercetools/checkout/models/payment_intents/PaymentIntentActionBuilder.java
* <p>A merchant-defined identifier associated with the Payment to track and reconcile the Payment Intent Action on the merchant's side. For example, an invoice number.</p>
* <p>A merchant-defined identifier associated with the Payment to track and reconcile the Payment Intent Action on the merchant's side. For example, an invoice number.</p>
114
-
* @return merchantReference
115
-
*/
116
-
117
-
@Nullable
118
-
publicStringgetMerchantReference() {
119
-
returnthis.merchantReference;
120
-
}
121
-
122
-
/**
123
-
* builds PaymentIntentAction with checking for non-null required values
124
-
* @return PaymentIntentAction
125
-
*/
126
-
publicPaymentIntentActionbuild() {
127
-
Objects.requireNonNull(action, PaymentIntentAction.class + ": action is missing");
0 commit comments