STPAUBECSDebitFormView
Objective-C
@interface STPAUBECSDebitFormView : STPMultiFormTextField
Swift
class STPAUBECSDebitFormView : STPMultiFormTextField
STPAUBECSDebitFormView is a subclass of UIControl that contains all of the necessary fields and legal text for collecting AU BECS Debit payments. For additional customization options - see: STPFormTextFieldContainer
-
Declaration
Objective-C
- (nonnull instancetype)initWithCompanyName:(nonnull NSString *)companyName;
Swift
init(companyName: String)
Parameters
companyName
The name of the company collecting AU BECS Debit payment details information. This will be used to provide the required service agreement text. - see: https://stripe.com/au-becs/legal
-
Unavailable
Use initWithCompanyName instead.
Declaration
Objective-C
- (nullable instancetype)initWithCoder:(nonnull NSCoder *)coder;
-
Unavailable
Use initWithCompanyName instead.
Declaration
Objective-C
- (nonnull instancetype)initWithFrame:(CGRect)frame;
-
The background color for the form text fields. Defaults to [UIColor systemBackgroundColor] on iOS 13.0 and later, [UIColor whiteColor] on earlier iOS versions.
Set this property to nil to reset to the default.
Declaration
Objective-C
@property (nonatomic, copy, null_resettable) UIColor *formBackgroundColor;
Swift
@NSCopying var formBackgroundColor: UIColor! { get set }
-
The delegate to inform about changes to this STPAUBECSDebitFormView instance.
Declaration
Objective-C
@property (nonatomic, weak) id<STPAUBECSDebitFormViewDelegate> _Nullable becsDebitFormDelegate;
Swift
weak var becsDebitFormDelegate: STPAUBECSDebitFormViewDelegate? { get set }
-
This property will return a non-nil value if and only if the form is in a complete state. The
STPPaymentMethodParams
instance will have it’sauBECSDebit
property populated with the values input in this form.Declaration
Objective-C
@property (nonatomic, readonly, nullable) STPPaymentMethodParams *paymentMethodParams;
Swift
var paymentMethodParams: STPPaymentMethodParams? { get }