AuropayBuilder class

AuropayBuilder A builder for auropay entity.

Constructors

AuropayBuilder({required String subDomainId, required String accessKey, required String secretKey, required CustomerProfile customerProfile})

Properties

accessKey String
required to setup payment channel
final
allowCardScan bool
option for card scan
getter/setter pair
autoContrast bool
default true
getter/setter pair
country Country
default Country.IN
getter/setter pair
customerProfile CustomerProfile
required to setup payment channel
final
detailedResponse bool
default false
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secretKey String
required to setup payment channel
final
showCustomerForm bool
ask for customer detail
getter/setter pair
showReceipt bool
default true
getter/setter pair
subDomainId String
required to setup payment channel
final
theme AuropayTheme?
apply custom color combination for payment module
getter/setter pair

Methods

askForCustomerDetail(bool showCustomerForm) AuropayBuilder
build() AuropayBuilder
getDetailedResponse(bool detailedResponse) AuropayBuilder
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setAllowCardScan(bool allowCardScan) AuropayBuilder
setAutoContrast(bool autoContrast) AuropayBuilder
setCountry(Country country) AuropayBuilder
setShowReceipt(bool showReceipt) AuropayBuilder
setTheme(AuropayTheme theme) AuropayBuilder
toJson(double amount, {String? orderId}) Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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