-
Optional: The line items for this transaction. It can include up to 249 line items.
Declaration
Swift
public var lineItems: [BTPayPalLineItem]?
-
Defaults to false. When set to true, the shipping address selector will be displayed.
Declaration
Swift
public var isShippingAddressRequired: Bool
-
Optional: The merchant name displayed inside of the PayPal flow; defaults to the company name on your Braintree account
Declaration
Swift
public var displayName: String?
-
Optional: A locale code to use for the transaction.
Note
Supported locales are:da_DK
,de_DE
,en_AU
,en_GB
,en_US
,es_ES
,es_XC
,fr_CA
,fr_FR
,fr_XC
,id_ID
,it_IT
,ja_JP
,ko_KR
,nl_NL
,no_NO
,pl_PL
,pt_BR
,pt_PT
,ru_RU
,sv_SE
,th_TH
,tr_TR
,zh_CN
,zh_HK
,zh_TW
,zh_XC
.Declaration
Swift
public var localeCode: String?
-
Defaults to false. Set to true to enable user editing of the shipping address.
Note
Only applies whenshippingAddressOverride
is set.Declaration
Swift
public var isShippingAddressEditable: Bool
-
Optional: A valid shipping address to be displayed in the transaction flow. An error will occur if this address is not valid.
Declaration
Swift
public var shippingAddressOverride: BTPostalAddress?
-
Optional: A risk correlation ID created with Set Transaction Context on your server.
Declaration
Swift
public var riskCorrelationID: String?
-
Optional: A non-default merchant account to use for tokenization.
Declaration
Swift
public var merchantAccountID: String?