VenmoRequest

class VenmoRequest @JvmOverloads constructor(val paymentMethodUsage: VenmoPaymentMethodUsage, var lineItems: ArrayList<VenmoLineItem>? = null, var shouldVault: Boolean = false, var profileId: String? = null, var displayName: String? = null, var collectCustomerShippingAddress: Boolean = false, var collectCustomerBillingAddress: Boolean = false, var totalAmount: String? = null, var subTotalAmount: String? = null, var discountAmount: String? = null, var taxAmount: String? = null, var shippingAmount: String? = null, var isFinalAmount: Boolean = false) : Parcelable

A VenmoRequest specifies options that contribute to the Venmo flow.

Constructors

Link copied to clipboard
constructor(paymentMethodUsage: VenmoPaymentMethodUsage, lineItems: ArrayList<VenmoLineItem>? = null, shouldVault: Boolean = false, profileId: String? = null, displayName: String? = null, collectCustomerShippingAddress: Boolean = false, collectCustomerBillingAddress: Boolean = false, totalAmount: String? = null, subTotalAmount: String? = null, discountAmount: String? = null, taxAmount: String? = null, shippingAmount: String? = null, isFinalAmount: Boolean = false)

Properties

Link copied to clipboard

Optional - The boolean value of the flag that signifies whether customer billing address will be collected. Whether or not billing address should be collected and displayed on Venmo pay sheet.

Link copied to clipboard

Optional - The boolean value of the flag that signifies whether customer shipping address will be collected. Whether or not shipping address should be collected and displayed on Venmo pay sheet.

Link copied to clipboard

Optional - The total discount amount applied on the transaction. The total discount amount applied on the transaction. If this value is set, totalAmount must also be set.

Link copied to clipboard

Optional - The business name that will be displayed in the Venmo app payment approval screen. Only used by merchants onboarded as PayFast channel partners.

Link copied to clipboard

Optional - The boolean value of the flag that signifies whether the purchase amount is the final amount. Indicates whether the purchase amount is the final amount. Defaults to false.

Link copied to clipboard
Link copied to clipboard

Optional - The Venmo profile ID to be used during payment authorization. The Venmo profile ID to be used during payment authorization. Customers will see the business name and logo associated with this Venmo profile, and it will show up in the Venmo app as a "Connected Merchant". Venmo profile IDs can be found in the Braintree Control Panel. Leaving this null` will use the default Venmo profile.

Link copied to clipboard

Optional - he shipping amount charged for the transaction. The shipping amount charged for the transaction. If this value is set, totalAmount must also be set.

Link copied to clipboard

Optional - Whether or not to automatically vault the Venmo Account. Whether or not to automatically vault the Venmo Account. Vaulting will only occur if a client token with a customer ID is being used. Defaults to false.

Link copied to clipboard

Optional - The subtotal amount of the transaction, excluding taxes, discounts, and shipping. The subtotal amount of the transaction, excluding taxes, discounts, and shipping.

Link copied to clipboard

Optional - The total tax amount applied to the transaction. The total tax amount applied to the transaction. If this value is set, totalAmount must also be set.

Link copied to clipboard

Optional - The grand total amount of the transaction that will be displayed on the pay sheet. The grand total amount of the transaction that will be displayed on the pay sheet.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)