SCPPaymentMethodOptionsParametersBuilder
Objective-C
@interface SCPPaymentMethodOptionsParametersBuilder
: SCPBuilder <SCPPaymentMethodOptionsParameters *>
Swift
class PaymentMethodOptionsParametersBuilder : SCPBuilder<PaymentMethodOptionsParameters>
Builder class for SCPPaymentMethodOptionsParameters
.
-
Declaration
Objective-C
- (nonnull instancetype)initWithCardPresentParameters: (nonnull SCPCardPresentParameters *)cardPresentParameters;
Swift
init(cardPresentParameters: CardPresentParameters)
Parameters
cardPresentParameters
Card-present-specific configuration for this PaymentMethod.
Return Value
Initialized
SCPPaymentMethodOptionsParametersBuilder
instance. -
Declaration
Objective-C
- (nonnull SCPPaymentMethodOptionsParametersBuilder *)setCardPresentParameters: (nonnull SCPCardPresentParameters *)cardPresentParameters;
Swift
func setCardPresentParameters(_ cardPresentParameters: CardPresentParameters) -> PaymentMethodOptionsParametersBuilder
-
Unavailable
Use
initWithCardPresentParameters:
Declaration
Objective-C
- (nonnull instancetype)init;
-
Unavailable
Use
initWithCardPresentParameters:
Declaration
Objective-C
+ (nonnull instancetype)new;