Package io.moov.sdk.models.components
Class ApplePayPaymentMethod
- java.lang.Object
-
- io.moov.sdk.models.components.ApplePayPaymentMethod
-
- All Implemented Interfaces:
PaymentMethod
public class ApplePayPaymentMethod extends java.lang.Object implements PaymentMethod
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classApplePayPaymentMethod.Builder
-
Constructor Summary
Constructors Constructor Description ApplePayPaymentMethod(java.lang.String paymentMethodID, ApplePayPaymentMethodPaymentMethodType paymentMethodType, ApplePayResponse applePay)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplePayResponseapplePay()Describes an Apple Pay token on a Moov account.static ApplePayPaymentMethod.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()java.lang.StringpaymentMethodID()ID of the payment method.java.lang.StringpaymentMethodType()java.lang.StringtoString()ApplePayPaymentMethodwithApplePay(ApplePayResponse applePay)Describes an Apple Pay token on a Moov account.ApplePayPaymentMethodwithPaymentMethodID(java.lang.String paymentMethodID)ID of the payment method.ApplePayPaymentMethodwithPaymentMethodType(ApplePayPaymentMethodPaymentMethodType paymentMethodType)
-
-
-
Constructor Detail
-
ApplePayPaymentMethod
public ApplePayPaymentMethod(java.lang.String paymentMethodID, ApplePayPaymentMethodPaymentMethodType paymentMethodType, ApplePayResponse applePay)
-
-
Method Detail
-
paymentMethodID
public java.lang.String paymentMethodID()
ID of the payment method.
-
paymentMethodType
public java.lang.String paymentMethodType()
- Specified by:
paymentMethodTypein interfacePaymentMethod
-
applePay
public ApplePayResponse applePay()
Describes an Apple Pay token on a Moov account.
-
builder
public static ApplePayPaymentMethod.Builder builder()
-
withPaymentMethodID
public ApplePayPaymentMethod withPaymentMethodID(java.lang.String paymentMethodID)
ID of the payment method.
-
withPaymentMethodType
public ApplePayPaymentMethod withPaymentMethodType(ApplePayPaymentMethodPaymentMethodType paymentMethodType)
-
withApplePay
public ApplePayPaymentMethod withApplePay(ApplePayResponse applePay)
Describes an Apple Pay token on a Moov account.
-
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
-
-