-
- All Implemented Interfaces:
-
android.os.Parcelable
public class PaypalPayFastPaymentParams extends PaymentParams implements Parcelable
Represents payment parameters for PAYPAL_PAYFAST payment brand.
-
-
Field Summary
Fields Modifier and Type Field Description private PaypalPayfastConfigconfigpublic final static Parcelable.Creator<PaypalPayFastPaymentParams>CREATOR
-
Constructor Summary
Constructors Constructor Description PaypalPayFastPaymentParams(String checkoutId, Connect.ProviderMode providerMode, PaypalPayfastConfig config)Creates the payment parameters for PAYPAL_PAYFAST transaction.
-
Method Summary
Modifier and Type Method Description PaypalPayfastConfiggetConfig()Returns PaypalPayfastConfig. voidsetConfig(@NonNull() PaypalPayfastConfig config)voidsetShopperResultUrl(@Nullable() String shopperResultUrl)ShopperResultUrl is not required for PaypalPayFastPaymentParams. Map<String, String>getParamsForRequest()Returns the map of all parameters needed for VENMO_PAYFAST transaction. booleanequals(Object other)inthashCode()voidwriteToParcel(@NonNull() Parcel dest, int flags)intdescribeContents()-
-
Constructor Detail
-
PaypalPayFastPaymentParams
PaypalPayFastPaymentParams(String checkoutId, Connect.ProviderMode providerMode, PaypalPayfastConfig config)
Creates the payment parameters for PAYPAL_PAYFAST transaction.- Parameters:
checkoutId- The checkout id of the transaction.providerMode- The com.oppwa.mobile.connect.provider.Connect.ProviderMode.config- The PaypalPayfastConfig.
-
-
Method Detail
-
getConfig
@NonNull() PaypalPayfastConfig getConfig()
Returns PaypalPayfastConfig.
-
setConfig
void setConfig(@NonNull() PaypalPayfastConfig config)
-
setShopperResultUrl
void setShopperResultUrl(@Nullable() String shopperResultUrl)
ShopperResultUrl is not required for PaypalPayFastPaymentParams.
-
getParamsForRequest
@NonNull() Map<String, String> getParamsForRequest()
Returns the map of all parameters needed for VENMO_PAYFAST transaction.
-
hashCode
int hashCode()
-
writeToParcel
void writeToParcel(@NonNull() Parcel dest, int flags)
-
describeContents
int describeContents()
-
-
-
-