Class PaymentChangeAmountPlannedActionImpl
java.lang.Object
com.commercetools.api.models.payment.PaymentChangeAmountPlannedActionImpl
- All Implemented Interfaces:
PaymentChangeAmountPlannedAction
,PaymentUpdateAction
,ResourceUpdateAction<PaymentUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class PaymentChangeAmountPlannedActionImpl
extends Object
implements PaymentChangeAmountPlannedAction, io.vrap.rmf.base.client.ModelBase
Can be used to update the Payment if a customer changes the Cart, or adds or removes a CartDiscount during checkout.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.payment.PaymentChangeAmountPlannedAction
CHANGE_AMOUNT_PLANNED
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.payment.PaymentChangeAmountPlannedAction
withPaymentChangeAmountPlannedAction
Methods inherited from interface com.commercetools.api.models.payment.PaymentUpdateAction
withPaymentUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
PaymentChangeAmountPlannedActionImpl
public PaymentChangeAmountPlannedActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfacePaymentUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<PaymentUpdateAction>
- Returns:
- action
-
getAmount
New value to set.
- Specified by:
getAmount
in interfacePaymentChangeAmountPlannedAction
- Returns:
- amount
-
setAmount
Description copied from interface:PaymentChangeAmountPlannedAction
New value to set.
- Specified by:
setAmount
in interfacePaymentChangeAmountPlannedAction
- Parameters:
amount
- value to be set
-
equals
-
hashCode
-