Class PaymentUpdateImpl
java.lang.Object
com.commercetools.api.models.payment.PaymentUpdateImpl
- All Implemented Interfaces:
PaymentUpdate
,ResourceUpdate<PaymentUpdate,
,PaymentUpdateAction, PaymentUpdateBuilder> io.vrap.rmf.base.client.ModelBase
public class PaymentUpdateImpl
extends Object
implements PaymentUpdate, io.vrap.rmf.base.client.ModelBase
PaymentUpdate
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Update actions to be performed on the Payment.Expected version of the Payment on which the changes should be applied.int
hashCode()
void
setActions
(PaymentUpdateAction... actions) Update actions to be performed on the Payment.void
setActions
(List<PaymentUpdateAction> actions) Update actions to be performed on the Payment.void
setVersion
(Long version) Expected version of the Payment on which the changes should be applied.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.PaymentUpdate
withPaymentUpdate
Methods inherited from interface com.commercetools.api.models.ResourceUpdate
get
-
Constructor Details
-
PaymentUpdateImpl
public PaymentUpdateImpl()create empty instance
-
-
Method Details
-
getVersion
Expected version of the Payment on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict error will be returned.
- Specified by:
getVersion
in interfacePaymentUpdate
- Specified by:
getVersion
in interfaceResourceUpdate<PaymentUpdate,
PaymentUpdateAction, PaymentUpdateBuilder> - Returns:
- version
-
getActions
Update actions to be performed on the Payment.
- Specified by:
getActions
in interfacePaymentUpdate
- Specified by:
getActions
in interfaceResourceUpdate<PaymentUpdate,
PaymentUpdateAction, PaymentUpdateBuilder> - Returns:
- actions
-
setVersion
Description copied from interface:PaymentUpdate
Expected version of the Payment on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict error will be returned.
- Specified by:
setVersion
in interfacePaymentUpdate
- Specified by:
setVersion
in interfaceResourceUpdate<PaymentUpdate,
PaymentUpdateAction, PaymentUpdateBuilder> - Parameters:
version
- value to be set
-
setActions
Description copied from interface:PaymentUpdate
Update actions to be performed on the Payment.
- Specified by:
setActions
in interfacePaymentUpdate
- Parameters:
actions
- values to be set
-
setActions
Description copied from interface:PaymentUpdate
Update actions to be performed on the Payment.
- Specified by:
setActions
in interfacePaymentUpdate
- Specified by:
setActions
in interfaceResourceUpdate<PaymentUpdate,
PaymentUpdateAction, PaymentUpdateBuilder> - Parameters:
actions
- values to be set
-
equals
-
hashCode
public int hashCode()
-