-
- All Implemented Interfaces:
-
android.os.Parcelable,com.oppwa.mobile.connect.payment.BrandConfig
public final class PaypalPayfastConfig implements BrandConfigCreates the config for PAYPAL_PAYFAST transaction.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPaypalPayfastConfig.CREATOR
-
Constructor Summary
Constructors Constructor Description PaypalPayfastConfig(Parcel parcel)PaypalPayfastConfig(Boolean hasUserLocationConsent, Boolean enableAppSwitch, String appLinkReturnUrl)
-
Method Summary
Modifier and Type Method Description StringgetPaymentBrand()final StringgetNonce()Returns nonce. final UnitsetNonce(String nonce)sets nonce. final StringgetDeviceData()Returns deviceData. final UnitsetDeviceData(String deviceData)sets deviceData. final StringgetFirstName()Returns firstName. final UnitsetFirstName(String firstName)sets firstName. final StringgetLastName()Returns lastName. final UnitsetLastName(String lastName)sets lastName. final StringgetPayerId()Returns payerId. final UnitsetPayerId(String payerId)sets payerId. final StringgetAuthenticateUrl()Returns authenticateUrl. final UnitsetAuthenticateUrl(String authenticateUrl)sets authenticateUrl. final StringgetPhone()Returns phone. final UnitsetPhone(String phone)sets phone. final StringgetEmail()Returns email. final UnitsetEmail(String email)sets email. final StringgetPaymentId()Returns paymentId. final UnitsetPaymentId(String paymentId)sets paymentId. final StringgetClientMetadataID()Returns clientMetadataID. final UnitsetClientMetadataID(String clientMetadataID)sets clientMetadataID. final BooleangetIsCardAmountImmutable()Returns isCardAmountImmutable. final UnitsetIsCardAmountImmutable(Boolean isCardAmountImmutable)sets isCardAmountImmutable. final StringgetMonthlyAmount()Returns monthlyAmount. final UnitsetMonthlyAmount(String monthlyAmount)sets monthlyAmount. final StringgetMonthlyAmountCurrency()Returns monthlyAmountCurrency. final UnitsetMonthlyAmountCurrency(String monthlyAmountCurrency)sets monthlyAmountCurrency. final BooleangetHasPayerAcceptance()Returns hasPayerAcceptance. final UnitsetHasPayerAcceptance(Boolean hasPayerAcceptance)sets hasPayerAcceptance. final StringgetTotalCost()Returns totalCost. final UnitsetTotalCost(String totalCost)sets totalCost. final StringgetTotalInterest()Returns totalInterest. final UnitsetTotalInterest(String totalInterest)sets totalInterest. final IntegergetTerm()Returns term. final UnitsetTerm(Integer term)sets term. final StringgetBillingRecipientName()Returns billingRecipientName. final UnitsetBillingRecipientName(String billingRecipientName)sets billingRecipientName. final StringgetBillingStreetAddress()Returns billingStreetAddress. final UnitsetBillingStreetAddress(String billingStreetAddress)sets billingStreetAddress. final StringgetBillingExtendedAddress()Returns billingExtendedAddress. final UnitsetBillingExtendedAddress(String billingExtendedAddress)sets billingExtendedAddress. final StringgetBillingRegion()Returns billingRegion. final UnitsetBillingRegion(String billingRegion)sets billingRegion. final StringgetBillingLocality()Returns billingLocality. final UnitsetBillingLocality(String billingLocality)sets billingLocality. final StringgetBillingCountryCode()Returns billingCountryCode. final UnitsetBillingCountryCode(String billingCountryCode)sets billingCountryCode. final StringgetBillingPostalCode()Returns billingPostalCode. final UnitsetBillingPostalCode(String billingPostalCode)sets billingPostalCode. final StringgetShippingRecipientName()Returns shippingRecipientName. final UnitsetShippingRecipientName(String shippingRecipientName)sets shippingRecipientName. final StringgetShippingStreetAddress()Returns shippingStreetAddress. final UnitsetShippingStreetAddress(String shippingStreetAddress)sets shippingStreetAddress. final StringgetShippingExtendedAddress()Returns shippingExtendedAddress. final UnitsetShippingExtendedAddress(String shippingExtendedAddress)sets shippingExtendedAddress. final StringgetShippingRegion()Returns shippingRegion. final UnitsetShippingRegion(String shippingRegion)sets shippingRegion. final StringgetShippingLocality()Returns shippingLocality. final UnitsetShippingLocality(String shippingLocality)sets shippingLocality. final StringgetShippingCountryCode()Returns shippingCountryCode. final UnitsetShippingCountryCode(String shippingCountryCode)sets shippingCountryCode. final StringgetShippingPostalCode()Returns shippingPostalCode. final UnitsetShippingPostalCode(String shippingPostalCode)sets shippingPostalCode. final StringgetAppLinkReturnUrl()Returns appLinkReturnUrl. final BooleangetHasUserLocationConsent()Returns hasUserLocationConsent. final BooleangetEnableAppSwitch()Returns enableAppSwitch. Booleanequals(Object other)IntegerhashCode()IntegerdescribeContents()UnitwriteToParcel(Parcel dest, Integer flags)-
-
Constructor Detail
-
PaypalPayfastConfig
PaypalPayfastConfig(Parcel parcel)
-
PaypalPayfastConfig
PaypalPayfastConfig(Boolean hasUserLocationConsent, Boolean enableAppSwitch, String appLinkReturnUrl)
- Parameters:
hasUserLocationConsent-is a required property that informs the SDK if your application has obtained consent from the user to collect location data in compliance with Google Play Developer Program policies.This flag enables PayPal to collect necessary information required for Fraud Detection and Risk Management.
appLinkReturnUrl-A Uri containing the Android App Link website associated with your application to be used to return to your app from the PayPal payment flows.
-
-
Method Detail
-
getPaymentBrand
String getPaymentBrand()
-
getDeviceData
final String getDeviceData()
Returns deviceData.
-
setDeviceData
final Unit setDeviceData(String deviceData)
sets deviceData.
-
getFirstName
final String getFirstName()
Returns firstName.
-
setFirstName
final Unit setFirstName(String firstName)
sets firstName.
-
getLastName
final String getLastName()
Returns lastName.
-
setLastName
final Unit setLastName(String lastName)
sets lastName.
-
getPayerId
final String getPayerId()
Returns payerId.
-
setPayerId
final Unit setPayerId(String payerId)
sets payerId.
-
getAuthenticateUrl
final String getAuthenticateUrl()
Returns authenticateUrl.
-
setAuthenticateUrl
final Unit setAuthenticateUrl(String authenticateUrl)
sets authenticateUrl.
-
getPaymentId
final String getPaymentId()
Returns paymentId.
-
setPaymentId
final Unit setPaymentId(String paymentId)
sets paymentId.
-
getClientMetadataID
final String getClientMetadataID()
Returns clientMetadataID.
-
setClientMetadataID
final Unit setClientMetadataID(String clientMetadataID)
sets clientMetadataID.
-
getIsCardAmountImmutable
final Boolean getIsCardAmountImmutable()
Returns isCardAmountImmutable.
-
setIsCardAmountImmutable
final Unit setIsCardAmountImmutable(Boolean isCardAmountImmutable)
sets isCardAmountImmutable.
-
getMonthlyAmount
final String getMonthlyAmount()
Returns monthlyAmount.
-
setMonthlyAmount
final Unit setMonthlyAmount(String monthlyAmount)
sets monthlyAmount.
-
getMonthlyAmountCurrency
final String getMonthlyAmountCurrency()
Returns monthlyAmountCurrency.
-
setMonthlyAmountCurrency
final Unit setMonthlyAmountCurrency(String monthlyAmountCurrency)
sets monthlyAmountCurrency.
-
getHasPayerAcceptance
final Boolean getHasPayerAcceptance()
Returns hasPayerAcceptance.
-
setHasPayerAcceptance
final Unit setHasPayerAcceptance(Boolean hasPayerAcceptance)
sets hasPayerAcceptance.
-
getTotalCost
final String getTotalCost()
Returns totalCost.
-
setTotalCost
final Unit setTotalCost(String totalCost)
sets totalCost.
-
getTotalInterest
final String getTotalInterest()
Returns totalInterest.
-
setTotalInterest
final Unit setTotalInterest(String totalInterest)
sets totalInterest.
-
getBillingRecipientName
final String getBillingRecipientName()
Returns billingRecipientName.
-
setBillingRecipientName
final Unit setBillingRecipientName(String billingRecipientName)
sets billingRecipientName.
-
getBillingStreetAddress
final String getBillingStreetAddress()
Returns billingStreetAddress.
-
setBillingStreetAddress
final Unit setBillingStreetAddress(String billingStreetAddress)
sets billingStreetAddress.
-
getBillingExtendedAddress
final String getBillingExtendedAddress()
Returns billingExtendedAddress.
-
setBillingExtendedAddress
final Unit setBillingExtendedAddress(String billingExtendedAddress)
sets billingExtendedAddress.
-
getBillingRegion
final String getBillingRegion()
Returns billingRegion.
-
setBillingRegion
final Unit setBillingRegion(String billingRegion)
sets billingRegion.
-
getBillingLocality
final String getBillingLocality()
Returns billingLocality.
-
setBillingLocality
final Unit setBillingLocality(String billingLocality)
sets billingLocality.
-
getBillingCountryCode
final String getBillingCountryCode()
Returns billingCountryCode.
-
setBillingCountryCode
final Unit setBillingCountryCode(String billingCountryCode)
sets billingCountryCode.
-
getBillingPostalCode
final String getBillingPostalCode()
Returns billingPostalCode.
-
setBillingPostalCode
final Unit setBillingPostalCode(String billingPostalCode)
sets billingPostalCode.
-
getShippingRecipientName
final String getShippingRecipientName()
Returns shippingRecipientName.
-
setShippingRecipientName
final Unit setShippingRecipientName(String shippingRecipientName)
sets shippingRecipientName.
-
getShippingStreetAddress
final String getShippingStreetAddress()
Returns shippingStreetAddress.
-
setShippingStreetAddress
final Unit setShippingStreetAddress(String shippingStreetAddress)
sets shippingStreetAddress.
-
getShippingExtendedAddress
final String getShippingExtendedAddress()
Returns shippingExtendedAddress.
-
setShippingExtendedAddress
final Unit setShippingExtendedAddress(String shippingExtendedAddress)
sets shippingExtendedAddress.
-
getShippingRegion
final String getShippingRegion()
Returns shippingRegion.
-
setShippingRegion
final Unit setShippingRegion(String shippingRegion)
sets shippingRegion.
-
getShippingLocality
final String getShippingLocality()
Returns shippingLocality.
-
setShippingLocality
final Unit setShippingLocality(String shippingLocality)
sets shippingLocality.
-
getShippingCountryCode
final String getShippingCountryCode()
Returns shippingCountryCode.
-
setShippingCountryCode
final Unit setShippingCountryCode(String shippingCountryCode)
sets shippingCountryCode.
-
getShippingPostalCode
final String getShippingPostalCode()
Returns shippingPostalCode.
-
setShippingPostalCode
final Unit setShippingPostalCode(String shippingPostalCode)
sets shippingPostalCode.
-
getAppLinkReturnUrl
final String getAppLinkReturnUrl()
Returns appLinkReturnUrl.
-
getHasUserLocationConsent
final Boolean getHasUserLocationConsent()
Returns hasUserLocationConsent.
-
getEnableAppSwitch
final Boolean getEnableAppSwitch()
Returns enableAppSwitch.
-
describeContents
Integer describeContents()
-
writeToParcel
Unit writeToParcel(Parcel dest, Integer flags)
-
-
-
-