Class PaymentMethodOption
- java.lang.Object
-
- com.checkout.handlepaymentsandpayouts.setups.entities.paymentMethods.common.PaymentMethodOption
-
public class PaymentMethodOption extends java.lang.ObjectPayment method option configuration
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentMethodOption.PaymentMethodOptionBuilder
-
Constructor Summary
Constructors Constructor Description PaymentMethodOption()PaymentMethodOption(java.lang.String id, java.lang.String status, java.util.List<java.lang.String> flags, PaymentMethodAction action)Creates a newPaymentMethodOptioninstance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PaymentMethodOption.PaymentMethodOptionBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)PaymentMethodActiongetAction()The action configuration for the payment method optionjava.util.List<java.lang.String>getFlags()Configuration flags for the payment method optionjava.lang.StringgetId()The unique identifier for the payment method optionjava.lang.StringgetStatus()The status of the payment method optioninthashCode()voidsetAction(PaymentMethodAction action)The action configuration for the payment method optionvoidsetFlags(java.util.List<java.lang.String> flags)Configuration flags for the payment method optionvoidsetId(java.lang.String id)The unique identifier for the payment method optionvoidsetStatus(java.lang.String status)The status of the payment method optionjava.lang.StringtoString()
-
-
-
Constructor Detail
-
PaymentMethodOption
public PaymentMethodOption()
-
PaymentMethodOption
public PaymentMethodOption(java.lang.String id, java.lang.String status, java.util.List<java.lang.String> flags, PaymentMethodAction action)Creates a newPaymentMethodOptioninstance.- Parameters:
id- The unique identifier for the payment method optionstatus- The status of the payment method optionflags- Configuration flags for the payment method optionaction- The action configuration for the payment method option
-
-
Method Detail
-
builder
public static PaymentMethodOption.PaymentMethodOptionBuilder builder()
-
getId
public java.lang.String getId()
The unique identifier for the payment method option
-
getStatus
public java.lang.String getStatus()
The status of the payment method option
-
getFlags
public java.util.List<java.lang.String> getFlags()
Configuration flags for the payment method option
-
getAction
public PaymentMethodAction getAction()
The action configuration for the payment method option
-
setId
public void setId(java.lang.String id)
The unique identifier for the payment method option
-
setStatus
public void setStatus(java.lang.String status)
The status of the payment method option
-
setFlags
public void setFlags(java.util.List<java.lang.String> flags)
Configuration flags for the payment method option
-
setAction
public void setAction(PaymentMethodAction action)
The action configuration for the payment method option
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-