Class StagedOrderAddPaymentActionImpl
java.lang.Object
com.commercetools.api.models.order_edit.StagedOrderAddPaymentActionImpl
- All Implemented Interfaces:
StagedOrderAddPaymentAction
,StagedOrderUpdateAction
,ResourceUpdateAction<StagedOrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class StagedOrderAddPaymentActionImpl
extends Object
implements StagedOrderAddPaymentAction, io.vrap.rmf.base.client.ModelBase
StagedOrderAddPaymentAction
-
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.order_edit.StagedOrderAddPaymentAction
ADD_PAYMENT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Payment to add to the PaymentInfo.int
hashCode()
void
setPayment
(PaymentResourceIdentifier payment) Payment to add to the PaymentInfo.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.ResourceUpdateAction
get
Methods inherited from interface com.commercetools.api.models.order_edit.StagedOrderAddPaymentAction
withStagedOrderAddPaymentAction
Methods inherited from interface com.commercetools.api.models.order.StagedOrderUpdateAction
withStagedOrderUpdateAction
-
Constructor Details
-
StagedOrderAddPaymentActionImpl
public StagedOrderAddPaymentActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceResourceUpdateAction<StagedOrderUpdateAction>
- Specified by:
getAction
in interfaceStagedOrderUpdateAction
- Returns:
- action
-
getPayment
Payment to add to the PaymentInfo. Must not be assigned to another Order or active Cart already.
- Specified by:
getPayment
in interfaceStagedOrderAddPaymentAction
- Returns:
- payment
-
setPayment
Description copied from interface:StagedOrderAddPaymentAction
Payment to add to the PaymentInfo. Must not be assigned to another Order or active Cart already.
- Specified by:
setPayment
in interfaceStagedOrderAddPaymentAction
- Parameters:
payment
- value to be set
-
equals
-
hashCode
public int hashCode()
-