menu
stripe_sdk_plus package
documentation
stripe_sdk_ui.dart
StripeCard class
StripeCard class
dark_mode
light_mode
StripeCard
class
Constructors
StripeCard
({
String
?
number
,
String
?
cvc
,
int
?
expMonth
,
int
?
expYear
,
String
?
last4
})
Properties
cvc
↔
String
?
getter/setter pair
expMonth
↔
int
?
getter/setter pair
expYear
↔
int
?
getter/setter pair
hashCode
→
int
The hash code for this object.
no setter
inherited
last4
↔
String
?
getter/setter pair
number
↔
String
?
getter/setter pair
postalCode
↔
String
?
getter/setter pair
runtimeType
→
Type
A representation of the runtime type of the object.
no setter
inherited
Methods
isPostalCodeValid
(
)
→
bool
Checks whether or not the {@link #number} field is valid.
noSuchMethod
(
Invocation
invocation
)
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toPaymentMethod
(
)
→
Map
<
String
,
Object
>
Returns a stripe hash that represents this card. It only sets the type and card details. In order to add additional details such as name and address, you need to insert these keys into the hash before submitting it.
toString
(
)
→
String
A string representation of this object.
inherited
validateCVC
(
)
→
bool
Checks whether or not the {@link #cvc} field is valid.
validateDate
(
)
→
bool
Checks whether or not the {@link #expMonth} and {@link #expYear} fields represent a valid expiry date.
validateNumber
(
)
→
bool
Checks whether or not the {@link #number} field is valid.
Operators
operator ==
(
Object
other
)
→
bool
The equality operator.
inherited
stripe_sdk_plus package
documentation
stripe_sdk_ui
StripeCard class
stripe_sdk_ui library