-
- All Implemented Interfaces:
-
android.os.Parcelable
public class KlarnaInlinePaymentParams extends PaymentParams
Represents payment parameters for Klarna Payments.
-
-
Field Summary
Fields Modifier and Type Field Description private StringinitialTransactionIdpublic final static Parcelable.Creator<KlarnaInlinePaymentParams>CREATOR
-
Constructor Summary
Constructors Constructor Description KlarnaInlinePaymentParams(String checkoutId, String paymentBrand)Creates the payment parameters for Klarna Payments transaction.
-
Method Summary
Modifier and Type Method Description StringgetInitialTransactionId()Returns id of the initial AD transaction (AD - account discovery). KlarnaInlinePaymentParamssetInitialTransactionId(@Nullable() String initialTransactionId)Sets id of the initial AD transaction. Map<String, String>getParamsForRequest()Returns the map of all parameters needed for Klarna Payments transaction. booleanequals(@Nullable() Object o)inthashCode()voidwriteToParcel(Parcel dest, int flags)-
-
Method Detail
-
getInitialTransactionId
@Nullable() String getInitialTransactionId()
Returns id of the initial AD transaction (AD - account discovery).
-
setInitialTransactionId
@NonNull() KlarnaInlinePaymentParams setInitialTransactionId(@Nullable() String initialTransactionId)
Sets id of the initial AD transaction. This parameter is required to submit PA transaction after shopper clicked Pay button.
- Parameters:
initialTransactionId- id of the initial AD transaction
-
getParamsForRequest
@NonNull() Map<String, String> getParamsForRequest()
Returns the map of all parameters needed for Klarna Payments transaction.
-
hashCode
int hashCode()
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
-
-
-