PAYableIPG class

Inheritance

Constructors

PAYableIPG.new({Key? key, required PAYableIPGClient ipgClient, required int paymentType, required String? orderDescription, required String invoiceId, required String customerFirstName, required String customerLastName, required String customerMobilePhone, required String customerEmail, required String billingAddressStreet, required String billingAddressCity, required String billingAddressCountry, required String amount, required String currencyCode, String? startDate, String? endDate, String? recurringAmount, String? interval, String? isRetry, String? retryAttempts, String? doFirstPayment, String? custom1, String? custom2, String? customerPhone, String? billingAddressStreet2, String? billingCompanyName, String? billingAddressPostcodeZip, String? billingAddressStateProvince, String? shippingContactFirstName, String? shippingContactLastName, String? shippingContactMobilePhone, String? shippingContactPhone, String? shippingContactEmail, String? shippingCompanyName, String? shippingAddressStreet, String? shippingAddressStreet2, String? shippingAddressCity, String? shippingAddressStateProvince, String? shippingAddressCountry, String? shippingAddressPostcodeZip, OnPaymentStarted? onPaymentStarted, OnPaymentCompleted? onPaymentCompleted, OnPaymentError? onPaymentError, OnPaymentCancelled? onPaymentCancelled})
Returns a WebViewWidget for the payment process.

Properties

amount String
final
billingAddressCity String
final
billingAddressCountry String
final
billingAddressPostcodeZip String?
final
billingAddressStateProvince String?
final
billingAddressStreet String
final
billingAddressStreet2 String?
final
billingCompanyName String?
final
currencyCode String
final
custom1 String?
final
custom2 String?
final
customerEmail String
final
customerFirstName String
final
customerLastName String
final
customerMobilePhone String
final
customerPhone String?
final
doFirstPayment String?
Sets whether the user is making a payment in addition to the recurring amount.
final
endDate String?
final
hashCode int
The hash code for this object.
no setterinherited
interval String?
Sets how often the payment is made. The value can be MONTHLY, QUARTERLY or YEARLY.
final
invoiceId String
final
ipgClient PAYableIPGClient
final
isRetry String?
Sets whether automatic retying is allowed in case of a payment fails. 1 - allowed, 0 - not allowed
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
onPaymentCancelled OnPaymentCancelled?
Called when the user taps 'Back' after an error
final
onPaymentCompleted OnPaymentCompleted?
Called when the WebViewWidget attempts to load the returnUrl after a user has completed a payment.
final
onPaymentError OnPaymentError?
Called if an error occurs while the user is any point of making a payment.
final
onPaymentStarted OnPaymentStarted?
Called when the payment page loads after a successful request. The values of PaymentData can be used to check the payment status later.
final
orderDescription String?
final
paymentType int
The value is 1 for one-time payments and 2 for recurring payments
final
recurringAmount String?
final
retryAttempts String?
Sets the amount of days that automatic retrying will be performed.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shippingAddressCity String?
final
shippingAddressCountry String?
final
shippingAddressPostcodeZip String?
final
shippingAddressStateProvince String?
final
shippingAddressStreet String?
final
shippingAddressStreet2 String?
final
shippingCompanyName String?
final
shippingContactEmail String?
final
shippingContactFirstName String?
final
shippingContactLastName String?
final
shippingContactMobilePhone String?
final
shippingContactPhone String?
final
startDate String?
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() PAYableIPGState
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited