Class PaymentSetTransactionCustomFieldActionImpl
java.lang.Object
com.commercetools.api.models.payment.PaymentSetTransactionCustomFieldActionImpl
- All Implemented Interfaces:
PaymentSetTransactionCustomFieldAction
,PaymentUpdateAction
,ResourceUpdateAction<PaymentUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class PaymentSetTransactionCustomFieldActionImpl
extends Object
implements PaymentSetTransactionCustomFieldAction, io.vrap.rmf.base.client.ModelBase
PaymentSetTransactionCustomFieldAction
-
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.payment.PaymentSetTransactionCustomFieldAction
SET_TRANSACTION_CUSTOM_FIELD
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
Name of the Custom Field.Unique identifier of the Transaction.getValue()
Ifvalue
is absent ornull
, this field will be removed if it exists.int
hashCode()
void
Name of the Custom Field.void
setTransactionId
(String transactionId) Unique identifier of the Transaction.void
Ifvalue
is absent ornull
, this field will be removed if it exists.toString()
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.payment.PaymentSetTransactionCustomFieldAction
withPaymentSetTransactionCustomFieldAction
Methods inherited from interface com.commercetools.api.models.payment.PaymentUpdateAction
withPaymentUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
PaymentSetTransactionCustomFieldActionImpl
public PaymentSetTransactionCustomFieldActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfacePaymentUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<PaymentUpdateAction>
- Returns:
- action
-
getTransactionId
Unique identifier of the Transaction.
- Specified by:
getTransactionId
in interfacePaymentSetTransactionCustomFieldAction
- Returns:
- transactionId
-
getName
Name of the Custom Field.
- Specified by:
getName
in interfacePaymentSetTransactionCustomFieldAction
- Returns:
- name
-
getValue
If
value
is absent ornull
, this field will be removed if it exists. Removing a field that does not exist returns an InvalidOperation error. Ifvalue
is provided, it is set for the field defined byname
.- Specified by:
getValue
in interfacePaymentSetTransactionCustomFieldAction
- Returns:
- value
-
setTransactionId
Description copied from interface:PaymentSetTransactionCustomFieldAction
Unique identifier of the Transaction.
- Specified by:
setTransactionId
in interfacePaymentSetTransactionCustomFieldAction
- Parameters:
transactionId
- value to be set
-
setName
Description copied from interface:PaymentSetTransactionCustomFieldAction
Name of the Custom Field.
- Specified by:
setName
in interfacePaymentSetTransactionCustomFieldAction
- Parameters:
name
- value to be set
-
setValue
Description copied from interface:PaymentSetTransactionCustomFieldAction
If
value
is absent ornull
, this field will be removed if it exists. Removing a field that does not exist returns an InvalidOperation error. Ifvalue
is provided, it is set for the field defined byname
.- Specified by:
setValue
in interfacePaymentSetTransactionCustomFieldAction
- Parameters:
value
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-