STPAUBECSDebitFormView

public class STPAUBECSDebitFormView: STPMultiFormTextField, STPMultiFormFieldDelegate,
    UITextViewDelegate

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 - seealso: STPFormTextFieldContainer

  • Declaration

    Swift

    @objc(initWithCompanyName:)
    public required 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. - seealso: https://stripe.com/au-becs/legal

  • The background color for the form text fields. Defaults to .systemBackground on iOS 13.0 and later, .white on earlier iOS versions.

    Declaration

    Swift

    @objc
    public var formBackgroundColor: UIColor { get set }
  • The delegate to inform about changes to this STPAUBECSDebitFormView instance.

    Declaration

    Swift

    @objc
    public weak var becsDebitFormDelegate: STPAUBECSDebitFormViewDelegate?
  • 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’s auBECSDebit property populated with the values input in this form.

    Declaration

    Swift

    @objc
    public var paymentMethodParams: STPPaymentMethodParams? { get }