OrderIntent
@objc(PPCOrderIntent)
enum OrderIntent
extension OrderIntent : Equatable, Hashable, RawRepresentable
An enum of the possible values to be passed as the intent of an order.
Possible vales are: authorize
and capture
Intent enum documentation guide
-
Undocumented
Declaration
Swift
case authorize
-
Undocumented
Declaration
Swift
case capture
-
Creates a new instance with the specified raw value.
If there is no value of the type that corresponds with the specified raw value, this initializer returns
nil
. For example:enum PaperSize: String { case A4, A5, Letter, Legal } print(PaperSize(rawValue: "Legal")) // Prints "Optional("PaperSize.Legal")" print(PaperSize(rawValue: "Tabloid")) // Prints "nil"
Declaration
Swift
init?(rawValue: Int)
-
Undocumented
Declaration
Swift
var stringValue: String { get }