Package com.commercetools.api.models.me
Class MyPaymentSetCustomFieldActionImpl
java.lang.Object
com.commercetools.api.models.me.MyPaymentSetCustomFieldActionImpl
- All Implemented Interfaces:
MyPaymentSetCustomFieldAction
,MyPaymentUpdateAction
,ResourceUpdateAction<MyPaymentUpdateAction>
,io.vrap.rmf.base.client.ModelBase
public class MyPaymentSetCustomFieldActionImpl
extends Object
implements MyPaymentSetCustomFieldAction, io.vrap.rmf.base.client.ModelBase
MyPaymentSetCustomFieldAction
-
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.MyPaymentSetCustomFieldAction
SET_CUSTOM_FIELD
-
Constructor Summary
-
Method Summary
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.me.MyPaymentSetCustomFieldAction
withMyPaymentSetCustomFieldAction
Methods inherited from interface com.commercetools.api.models.me.MyPaymentUpdateAction
withMyPaymentUpdateAction
Methods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
-
Constructor Details
-
MyPaymentSetCustomFieldActionImpl
public MyPaymentSetCustomFieldActionImpl()create empty instance
-
-
Method Details
-
getAction
- Specified by:
getAction
in interfaceMyPaymentUpdateAction
- Specified by:
getAction
in interfaceResourceUpdateAction<MyPaymentUpdateAction>
- Returns:
- action
-
getName
Name of the Custom Field.
- Specified by:
getName
in interfaceMyPaymentSetCustomFieldAction
- 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 interfaceMyPaymentSetCustomFieldAction
- Returns:
- value
-
setName
Description copied from interface:MyPaymentSetCustomFieldAction
Name of the Custom Field.
- Specified by:
setName
in interfaceMyPaymentSetCustomFieldAction
- Parameters:
name
- value to be set
-
setValue
Description copied from interface:MyPaymentSetCustomFieldAction
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 interfaceMyPaymentSetCustomFieldAction
- Parameters:
value
- value to be set
-
equals
-
hashCode
public int hashCode() -
toString
-