CreditCardOfferDetails class

Constructors

CreditCardOfferDetails({String? cardName, required String cardImageUrl, List<CardPurpose> cardPurposes = const [], String? ratesUrl, double? maxPurchaseApr, double? minPurchaseApr, String? purchaseAprText, String? purchaseAprDisclaimer, double? maxPurchaseIntroApr, double? minPurchaseIntroApr, int? purchaseIntroAprTerm, TermUnit? purchaseIntroAprTermUnit, String? purchaseIntroAprText, String? regularIntroAprCombinedText, double? maxCashAdvanceApr, double? minCashAdvanceApr, String? cashAdvanceAprText, double? maxCashAdvanceIntroApr, double? minCashAdvanceIntroApr, int? cashAdvanceIntroAprTerm, TermUnit? cashAdvanceIntroAprTermUnit, String? cashAdvanceIntroAprText, double? maxBalanceTransferApr, double? minBalanceTransferApr, String? balanceTransferAprText, double? maxBalanceTransferIntroApr, double? minBalanceTransferIntroApr, int? balanceTransferIntroAprTerm, TermUnit? balanceTransferIntroAprTermUnit, String? balanceTransferIntroAprText, double? balanceTransferFee, String? balanceTransferFeeDisclaimer, double? maxAnnualFee, double? minAnnualFee, String? annualFeeDisclaimer, String? annualFeeText, double? annualIntroFee, int? annualIntroFeeTerm, double? introOfferAmount, String? introOfferText, String? introOfferDisclaimer, IntroOfferType? introOfferType, String? introOfferTitle, List<String> details = const [], List<String> additionalDetails = const [], List<PreviewDetail> previewDetails = const [], required CardType cardType, double? minimumCreditLine, double? minimumPenaltyApr, double? maximumPenaltyApr, AprType? aprType, double? cashAdvanceFee, double? lateFee, double? foreignExchangeFee, double? accountOpeningFee, double? returnPaymentFee, double? monthlyServiceFee, List<ProvidedCreditRating> recommendedCreditRatings = const [], String? recommendedCreditRatingsDisclaimer, String? recommendedCreditRatingsText, required bool preQualified, required bool preApproved, required bool preSelected, double? foreignTransactionFee, Object? earningProgram, List<CardBenefit> cardBenefits = const [], String? rewardsDescription, String? rewardsDisclaimer, String? rewardsTitle, double? minDepositAmount, String? minDepositDisclaimer, bool? isITA, List<String> badges = const []})
Returns a new CreditCardOfferDetails instance.

Properties

accountOpeningFee ↔ double?
Account opening fee in dollars
getter/setter pair
additionalDetails ↔ List<String>
List of card features which must be displayed with the offer
getter/setter pair
annualFeeDisclaimer ↔ String?
Disclaimer for the annual fee
getter/setter pair
annualFeeText ↔ String?
Description for the annual fee
getter/setter pair
annualIntroFee ↔ double?
Introductory annual fee in dollars
getter/setter pair
annualIntroFeeTerm ↔ int?
Number of years the introductory annual fee is in effect
getter/setter pair
aprType ↔ AprType?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
badges ↔ List<String>
getter/setter pair
balanceTransferAprText ↔ String?
Description of the balance transfer APR
getter/setter pair
balanceTransferFee ↔ double?
Balance transfer fee as a percentage
getter/setter pair
balanceTransferFeeDisclaimer ↔ String?
Disclaimer related to the balance transfer fee
getter/setter pair
balanceTransferIntroAprTerm ↔ int?
Introductory balance transfer APR term length
getter/setter pair
balanceTransferIntroAprTermUnit ↔ TermUnit?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
balanceTransferIntroAprText ↔ String?
Description of the introductory balance transfer APR
getter/setter pair
cardBenefits ↔ List<CardBenefit>
getter/setter pair
cardImageUrl ↔ String
URL of the card image
getter/setter pair
cardName ↔ String?
Display name of the card
getter/setter pair
cardPurposes ↔ List<CardPurpose>
getter/setter pair
cardType ↔ CardType
getter/setter pair
cashAdvanceAprText ↔ String?
Description of the cash advance APR
getter/setter pair
cashAdvanceFee ↔ double?
Cash advance fee in dollars
getter/setter pair
cashAdvanceIntroAprTerm ↔ int?
Introductory cash advance APR term length
getter/setter pair
cashAdvanceIntroAprTermUnit ↔ TermUnit?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
cashAdvanceIntroAprText ↔ String?
Description of the introductory cash advance APR
getter/setter pair
details ↔ List<String>
List of card features which must be prominently displayed with the offer
getter/setter pair
earningProgram ↔ Object?
Credit card earning program details (arbitrary JSON object)
getter/setter pair
foreignExchangeFee ↔ double?
Foreign exchange fee in dollars
getter/setter pair
foreignTransactionFee ↔ double?
Percentage represented in decimal format added to all foreign transactions
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
introOfferAmount ↔ double?
Amount of the introductory offer
getter/setter pair
introOfferDisclaimer ↔ String?
Disclaimer for the introductory offer
getter/setter pair
introOfferText ↔ String?
Description of the introductory offer
getter/setter pair
introOfferTitle ↔ String?
Title for the introductory offer
getter/setter pair
introOfferType ↔ IntroOfferType?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
isITA ↔ bool?
Indicates if the card is an Invitation to Apply (ITA) offer
getter/setter pair
lateFee ↔ double?
Late fee in dollars
getter/setter pair
maxAnnualFee ↔ double?
Maximum annual fee in dollars
getter/setter pair
maxBalanceTransferApr ↔ double?
Maximum balance transfer APR in percentage
getter/setter pair
maxBalanceTransferIntroApr ↔ double?
Maximum introductory balance transfer APR in percentage
getter/setter pair
maxCashAdvanceApr ↔ double?
Maximum cash advance APR in percentage
getter/setter pair
maxCashAdvanceIntroApr ↔ double?
Maximum introductory cash advance APR in percentage
getter/setter pair
maximumPenaltyApr ↔ double?
Maximum penalty APR in percentage
getter/setter pair
maxPurchaseApr ↔ double?
Maximum purchase APR in percentage
getter/setter pair
maxPurchaseIntroApr ↔ double?
Maximum introductory purchase APR in percentage
getter/setter pair
minAnnualFee ↔ double?
Minimum annual fee in dollars
getter/setter pair
minBalanceTransferApr ↔ double?
Minimum balance transfer APR in percentage
getter/setter pair
minBalanceTransferIntroApr ↔ double?
Minimum introductory balance transfer APR in percentage
getter/setter pair
minCashAdvanceApr ↔ double?
Minimum cash advance APR in percentage
getter/setter pair
minCashAdvanceIntroApr ↔ double?
Minimum introductory cash advance APR in percentage
getter/setter pair
minDepositAmount ↔ double?
Minimum deposit required in dollars
getter/setter pair
minDepositDisclaimer ↔ String?
Disclaimer about the minimum deposit
getter/setter pair
minimumCreditLine ↔ double?
Minimum credit line in dollars
getter/setter pair
minimumPenaltyApr ↔ double?
Minimum penalty APR in percentage
getter/setter pair
minPurchaseApr ↔ double?
Minimum purchase APR in percentage
getter/setter pair
minPurchaseIntroApr ↔ double?
Minimum introductory purchase APR in percentage
getter/setter pair
monthlyServiceFee ↔ double?
Monthly service fee in dollars
getter/setter pair
preApproved ↔ bool
getter/setter pair
preQualified ↔ bool
getter/setter pair
preSelected ↔ bool
Indicates that Engine by Gen has determined that the user has an increased likelihood of being approved for this card.
getter/setter pair
previewDetails ↔ List<PreviewDetail>
Shorter list of descriptions and disclaimers suitable for display in a preview context
getter/setter pair
purchaseAprDisclaimer ↔ String?
Disclaimer for the purchase APR
getter/setter pair
purchaseAprText ↔ String?
Description of the purchase APR
getter/setter pair
purchaseIntroAprTerm ↔ int?
Introductory purchase APR term length
getter/setter pair
purchaseIntroAprTermUnit ↔ TermUnit?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
purchaseIntroAprText ↔ String?
Description of the introductory purchase APR
getter/setter pair
ratesUrl ↔ String?
External link to card rates, terms, and conditions
getter/setter pair
recommendedCreditRatings ↔ List<ProvidedCreditRating>
getter/setter pair
recommendedCreditRatingsDisclaimer ↔ String?
Disclaimer about the recommended credit rating
getter/setter pair
recommendedCreditRatingsText ↔ String?
Description about the recommended credit rating
getter/setter pair
regularIntroAprCombinedText ↔ String?
Description of introductory and regular APR combined
getter/setter pair
returnPaymentFee ↔ double?
Return payment fee in dollars
getter/setter pair
rewardsDescription ↔ String?
Description of rewards associated with the card
getter/setter pair
rewardsDisclaimer ↔ String?
Disclaimer for rewards
getter/setter pair
rewardsTitle ↔ String?
Title for rewards
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → CreditCardOfferDetails?
Returns a new CreditCardOfferDetails instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<CreditCardOfferDetails>
mapFromJson(dynamic json) → Map<String, CreditCardOfferDetails>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<CreditCardOfferDetails>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.