Package 

Class AmazonPayPaymentParams

  • All Implemented Interfaces:
    android.os.Parcelable

    
    public class AmazonPayPaymentParams
    extends PaymentParams
                        

    Represents the payment parameters for Amazon Pay transactions. This class extends the base PaymentParams class to include additional configuration specific to Amazon Pay.

    • Constructor Detail

      • AmazonPayPaymentParams

        AmazonPayPaymentParams(String checkoutId, AmazonPayConfig config)
        Constructs the payment parameters for an Amazon Pay transaction.
        Parameters:
        checkoutId - The checkout ID of the transaction.
        config - The Amazon Pay configuration.
    • Method Detail

      • writeToParcel

         void writeToParcel(Parcel dest, int flags)

        Writes the payment parameters to a Parcel.

        Parameters:
        dest - The Parcel in which the payment parameters should be written.
        flags - Additional flags about how the object should be written.
      • getParamsForRequest

        @NonNull() Map<String, String> getParamsForRequest()

        Returns a map of parameters to be included in the request for the Amazon Pay payment. This method overrides the base implementation to add custom parameters specific to Amazon Pay.

      • equals

         boolean equals(Object o)

        Checks if this object is equal to another object.

        Parameters:
        o - The object to compare with.
      • hashCode

         int hashCode()

        Returns the hash code of this object.