-
- All Implemented Interfaces:
-
android.os.Parcelable
public class PayToPaymentParams extends PaymentParams implements Parcelable
Represents payment parameters for PAYTO payment brand.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringmobileNumberprivate final StringaccountNumberprivate final Stringbsbprivate final Stringemailpublic final static PatternemailPatternpublic final static Parcelable.Creator<PayToPaymentParams>CREATOR
-
Method Summary
Modifier and Type Method Description StringgetMobileNumber()Returns Mobile Number. StringgetAccountNumber()Returns Account Number. StringgetBsb()Returns BSB. StringgetEmail()Returns Email. Map<String, String>getParamsForRequest()Returns the map of all parameters needed for PAYTO transaction. booleanequals(Object other)inthashCode()voidwriteToParcel(@NonNull() Parcel dest, int flags)intdescribeContents()-
-
Constructor Detail
-
PayToPaymentParams
PayToPaymentParams(String checkoutId, String mobileNumber, String accountNumber, String bsb, String email)
Creates the payment parameters for PAYTO transaction.- Parameters:
checkoutId- The checkout id of the transaction.mobileNumber- The mobile phone number.accountNumber- The accountNumber.bsb- The bsb code.email- The email.
-
-
Method Detail
-
getMobileNumber
@Nullable() String getMobileNumber()
Returns Mobile Number.
-
getAccountNumber
@Nullable() String getAccountNumber()
Returns Account Number.
-
getParamsForRequest
@NonNull() Map<String, String> getParamsForRequest()
Returns the map of all parameters needed for PAYTO transaction.
-
hashCode
int hashCode()
-
writeToParcel
void writeToParcel(@NonNull() Parcel dest, int flags)
-
describeContents
int describeContents()
-
-
-
-