Package com.commercetools.api.models.me
Class MyPaymentChangeAmountPlannedActionImpl
java.lang.Object
com.commercetools.api.models.me.MyPaymentChangeAmountPlannedActionImpl
- All Implemented Interfaces:
MyPaymentChangeAmountPlannedAction
,MyPaymentUpdateAction
,ResourceUpdateAction<MyPaymentUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class MyPaymentChangeAmountPlannedActionImpl
extends Object
implements MyPaymentChangeAmountPlannedAction, 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.me.MyPaymentChangeAmountPlannedAction
CHANGE_AMOUNT_PLANNED
-
Constructor Summary
-
Method Summary
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.me.MyPaymentChangeAmountPlannedAction
withMyPaymentChangeAmountPlannedAction
Methods inherited from interface com.commercetools.api.models.me.MyPaymentUpdateAction
withMyPaymentUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
MyPaymentChangeAmountPlannedActionImpl
public MyPaymentChangeAmountPlannedActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceMyPaymentUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<MyPaymentUpdateAction>
- Returns:
- action
-
getAmount
New value to set.
- Specified by:
getAmount
in interfaceMyPaymentChangeAmountPlannedAction
- Returns:
- amount
-
setAmount
Description copied from interface:MyPaymentChangeAmountPlannedAction
New value to set.
- Specified by:
setAmount
in interfaceMyPaymentChangeAmountPlannedAction
- Parameters:
amount
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-