STPBillingAddressFields
Objective-C
enum STPBillingAddressFields {}
Swift
enum STPBillingAddressFields : UInt
What set of billing address information you need to collect from your user.
Note
If the user is from a country that does not use zip/postal codes, the user may not be asked for one regardless of this setting.-
No billing address information
Declaration
Objective-C
STPBillingAddressFieldsNone
Swift
case none = 0
-
Just request the user’s billing postal code
Declaration
Objective-C
STPBillingAddressFieldsPostalCode
Swift
case postalCode = 1
-
Request the user’s full billing address
Declaration
Objective-C
STPBillingAddressFieldsFull
Swift
case full = 2
-
Just request the user’s billing name
Declaration
Objective-C
STPBillingAddressFieldsName
Swift
case name = 3
-
Deprecated
Use STPBillingAddressFieldsPostalCode
Just request the user’s billing ZIP (synonym for STPBillingAddressFieldsZip) @deprecated Use STPBillingAddressFieldsPostalCode instead.
Declaration
Objective-C
STPBillingAddressFieldsZip = STPBillingAddressFieldsPostalCode
Swift
static var zip: STPBillingAddressFields { get }