Class OrderAddPaymentActionImpl
java.lang.Object
com.commercetools.api.models.order.OrderAddPaymentActionImpl
- All Implemented Interfaces:
OrderAddPaymentAction
,OrderUpdateAction
,ResourceUpdateAction<OrderUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class OrderAddPaymentActionImpl
extends Object
implements OrderAddPaymentAction, io.vrap.rmf.base.client.ModelBase
OrderAddPaymentAction
-
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.OrderAddPaymentAction
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.order.OrderAddPaymentAction
withOrderAddPaymentAction
Methods inherited from interface com.commercetools.api.models.order.OrderUpdateAction
withOrderUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
OrderAddPaymentActionImpl
public OrderAddPaymentActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceOrderUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<OrderUpdateAction>
- Returns:
- action
-
getPayment
Payment to add to the PaymentInfo. Must not be assigned to another Order or active Cart already.
- Specified by:
getPayment
in interfaceOrderAddPaymentAction
- Returns:
- payment
-
setPayment
Description copied from interface:OrderAddPaymentAction
Payment to add to the PaymentInfo. Must not be assigned to another Order or active Cart already.
- Specified by:
setPayment
in interfaceOrderAddPaymentAction
- Parameters:
payment
- value to be set
-
equals
-
hashCode
-