public class XPFPaymentInstrument extends XPFEntity
Constructor and Description |
---|
XPFPaymentInstrument(XPFAddress billingAddress,
XPFContact billingContact,
@NonNull String name,
@NonNull Map<String,String> paymentInstrumentData,
@NonNull XPFPaymentProviderConfiguration paymentProviderConfiguration,
boolean singleReservePerPI,
boolean supportingMultiCharges) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
XPFAddress |
getBillingAddress()
The billing address.
|
XPFContact |
getBillingContact()
The billing contact.
|
@NonNull String |
getName()
The payment instrument name assigned by the user.
|
@NonNull Map<String,String> |
getPaymentInstrumentData()
The payment instrument data, representing the dynamic values returned by the payment provider.
|
@NonNull XPFPaymentProviderConfiguration |
getPaymentProviderConfiguration()
Payment provider configuration uid.
|
int |
hashCode() |
boolean |
isSingleReservePerPI()
Indicates if the payment instrument only allows a single, one-time reservation.
|
boolean |
isSupportingMultiCharges()
Indicates if the payment instrument supports allows multiple charges per reservation.
|
String |
toString() |
getCustomData
public XPFPaymentInstrument(XPFAddress billingAddress, XPFContact billingContact, @NonNull @NonNull String name, @NonNull @NonNull Map<String,String> paymentInstrumentData, @NonNull @NonNull XPFPaymentProviderConfiguration paymentProviderConfiguration, boolean singleReservePerPI, boolean supportingMultiCharges)
public XPFAddress getBillingAddress()
public XPFContact getBillingContact()
@NonNull public @NonNull String getName()
@NonNull public @NonNull Map<String,String> getPaymentInstrumentData()
@NonNull public @NonNull XPFPaymentProviderConfiguration getPaymentProviderConfiguration()
public boolean isSingleReservePerPI()
public boolean isSupportingMultiCharges()
Copyright © 2024. All rights reserved.