-
- All Implemented Interfaces:
-
android.os.Parcelable
public class IkanoOiPaymentParams extends PaymentParams
Represents payment parameters for IKANO payment brands.
-
-
Field Summary
Fields Modifier and Type Field Description private final String
nationalIdentifier
public final static Parcelable.Creator<IkanoOiPaymentParams>
CREATOR
-
Constructor Summary
Constructors Constructor Description IkanoOiPaymentParams(String checkoutId, String paymentBrand, String nationalIdentifier)
-
Method Summary
Modifier and Type Method Description String
getNationalIdentifier()
Returns shopper's national identifier static boolean
isNationalIdentifierValid(@Nullable() String nationalIdentifier, @NonNull() String paymentBrand)
Checks if national identifier is valid for specified IKANO payment brand. Map<String, String>
getParamsForRequest()
Returns a map of all parameters needed for IKANO transaction. int
describeContents()
void
writeToParcel(Parcel dest, int flags)
boolean
equals(@Nullable() Object o)
int
hashCode()
-
-
Method Detail
-
getNationalIdentifier
@NonNull() String getNationalIdentifier()
Returns shopper's national identifier
-
isNationalIdentifierValid
static boolean isNationalIdentifierValid(@Nullable() String nationalIdentifier, @NonNull() String paymentBrand)
Checks if national identifier is valid for specified IKANO payment brand.
- Parameters:
nationalIdentifier
- shopper's national identifierpaymentBrand
- IKANOOI_SE, IKANOOI_NO or IKANOOI_FI is expected
-
getParamsForRequest
@NonNull() Map<String, String> getParamsForRequest()
Returns a map of all parameters needed for IKANO transaction.
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
hashCode
int hashCode()
-
-
-
-