-
- 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 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.
-
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)
-
-
-
-