Package com.commercetools.api.models.me
Class MyPaymentAddTransactionActionImpl
java.lang.Object
com.commercetools.api.models.me.MyPaymentAddTransactionActionImpl
- All Implemented Interfaces:
MyPaymentAddTransactionAction
,MyPaymentUpdateAction
,ResourceUpdateAction<MyPaymentUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class MyPaymentAddTransactionActionImpl
extends Object
implements MyPaymentAddTransactionAction, io.vrap.rmf.base.client.ModelBase
Adding a Transaction to a Payment generates the PaymentTransactionAdded Message. Once a Transaction is added to the Payment, it can no longer be updated or deleted using the My Payments API.
-
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.MyPaymentAddTransactionAction
ADD_TRANSACTION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Transaction to add to the Payment.int
hashCode()
void
setTransaction
(TransactionDraft transaction) Transaction to add to the Payment.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.me.MyPaymentAddTransactionAction
withMyPaymentAddTransactionAction
Methods inherited from interface com.commercetools.api.models.me.MyPaymentUpdateAction
withMyPaymentUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
MyPaymentAddTransactionActionImpl
public MyPaymentAddTransactionActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceMyPaymentUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<MyPaymentUpdateAction>
- Returns:
- action
-
getTransaction
Transaction to add to the Payment.
- Specified by:
getTransaction
in interfaceMyPaymentAddTransactionAction
- Returns:
- transaction
-
setTransaction
Description copied from interface:MyPaymentAddTransactionAction
Transaction to add to the Payment.
- Specified by:
setTransaction
in interfaceMyPaymentAddTransactionAction
- Parameters:
transaction
- value to be set
-
equals
-
hashCode
-