-
- All Implemented Interfaces:
-
android.os.Parcelable
public class MBWayPaymentParams extends PaymentParams
Represents payment parameters for MBWAY payment brand.
-
-
Field Summary
Fields Modifier and Type Field Description public final static Parcelable.Creator<MBWayPaymentParams>
CREATOR
-
Constructor Summary
Constructors Constructor Description MBWayPaymentParams(String checkoutId, String countryCode, String mobilePhone)
Creates the payment parameters for MBWAY transaction.
-
Method Summary
Modifier and Type Method Description Map<String, String>
getParamsForRequest()
Returns the map of all parameters needed for MBWAY transaction. int
describeContents()
void
writeToParcel(Parcel dest, int flags)
boolean
equals(@Nullable() Object o)
int
hashCode()
-
-
Constructor Detail
-
MBWayPaymentParams
MBWayPaymentParams(String checkoutId, String countryCode, String mobilePhone)
Creates the payment parameters for MBWAY transaction.- Parameters:
checkoutId
- the checkout id of the transactioncountryCode
- the country code in the following format [0-9]{3,6}, with two leading zeros, for example '1' -> '001', '351' -> '00351'mobilePhone
- the mobile phone number
-
-
Method Detail
-
getParamsForRequest
@NonNull() Map<String, String> getParamsForRequest()
Returns the map of all parameters needed for MBWAY transaction.
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
hashCode
int hashCode()
-
-
-
-