Package io.moov.sdk.models.components
Class PushToCardPaymentMethod
- java.lang.Object
-
- io.moov.sdk.models.components.PushToCardPaymentMethod
-
- All Implemented Interfaces:
PaymentMethod
public class PushToCardPaymentMethod extends java.lang.Object implements PaymentMethod
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPushToCardPaymentMethod.Builder
-
Constructor Summary
Constructors Constructor Description PushToCardPaymentMethod(java.lang.String paymentMethodID, PushToCardPaymentMethodPaymentMethodType paymentMethodType, PaymentMethodsCard card)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PushToCardPaymentMethod.Builderbuilder()PaymentMethodsCardcard()A card as contained within a payment method.booleanequals(java.lang.Object o)inthashCode()java.lang.StringpaymentMethodID()ID of the payment method.java.lang.StringpaymentMethodType()java.lang.StringtoString()PushToCardPaymentMethodwithCard(PaymentMethodsCard card)A card as contained within a payment method.PushToCardPaymentMethodwithPaymentMethodID(java.lang.String paymentMethodID)ID of the payment method.PushToCardPaymentMethodwithPaymentMethodType(PushToCardPaymentMethodPaymentMethodType paymentMethodType)
-
-
-
Constructor Detail
-
PushToCardPaymentMethod
public PushToCardPaymentMethod(java.lang.String paymentMethodID, PushToCardPaymentMethodPaymentMethodType paymentMethodType, PaymentMethodsCard card)
-
-
Method Detail
-
paymentMethodID
public java.lang.String paymentMethodID()
ID of the payment method.
-
paymentMethodType
public java.lang.String paymentMethodType()
- Specified by:
paymentMethodTypein interfacePaymentMethod
-
card
public PaymentMethodsCard card()
A card as contained within a payment method.
-
builder
public static PushToCardPaymentMethod.Builder builder()
-
withPaymentMethodID
public PushToCardPaymentMethod withPaymentMethodID(java.lang.String paymentMethodID)
ID of the payment method.
-
withPaymentMethodType
public PushToCardPaymentMethod withPaymentMethodType(PushToCardPaymentMethodPaymentMethodType paymentMethodType)
-
withCard
public PushToCardPaymentMethod withCard(PaymentMethodsCard card)
A card as contained within a payment method.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-