pub struct CcOffer {
Show 63 fields pub additional_card_benefits: Option<Vec<String>>, pub additional_card_holder_fee: Option<String>, pub age_minimum: Option<f64>, pub age_minimum_details: Option<String>, pub annual_fee: Option<f64>, pub annual_fee_display: Option<String>, pub annual_reward_maximum: Option<f64>, pub approved_categories: Option<Vec<String>>, pub apr_display: Option<String>, pub balance_computation_method: Option<String>, pub balance_transfer_terms: Option<String>, pub bonus_rewards: Option<Vec<CcOfferBonusRewards>>, pub car_rental_insurance: Option<String>, pub card_benefits: Option<Vec<String>>, pub card_name: Option<String>, pub card_type: Option<String>, pub cash_advance_terms: Option<String>, pub credit_limit_max: Option<f64>, pub credit_limit_min: Option<f64>, pub credit_rating_display: Option<String>, pub default_fees: Option<Vec<CcOfferDefaultFees>>, pub disclaimer: Option<String>, pub emergency_insurance: Option<String>, pub existing_customer_only: Option<bool>, pub extended_warranty: Option<String>, pub first_year_annual_fee: Option<f64>, pub flight_accident_insurance: Option<String>, pub foreign_currency_transaction_fee: Option<String>, pub fraud_liability: Option<String>, pub grace_period_display: Option<String>, pub image_url: Option<String>, pub initial_setup_and_processing_fee: Option<String>, pub intro_balance_transfer_terms: Option<String>, pub intro_cash_advance_terms: Option<String>, pub intro_purchase_terms: Option<String>, pub issuer: Option<String>, pub issuer_id: Option<String>, pub issuer_website: Option<String>, pub kind: Option<String>, pub landing_page_url: Option<String>, pub late_payment_fee: Option<String>, pub luggage_insurance: Option<String>, pub max_purchase_rate: Option<f64>, pub min_purchase_rate: Option<f64>, pub minimum_finance_charge: Option<String>, pub network: Option<String>, pub offer_id: Option<String>, pub offers_immediate_cash_reward: Option<bool>, pub over_limit_fee: Option<String>, pub prohibited_categories: Option<Vec<String>>, pub purchase_rate_additional_details: Option<String>, pub purchase_rate_type: Option<String>, pub returned_payment_fee: Option<String>, pub reward_partner: Option<String>, pub reward_unit: Option<String>, pub rewards: Option<Vec<CcOfferRewards>>, pub rewards_expire: Option<bool>, pub rewards_have_blackout_dates: Option<bool>, pub statement_copy_fee: Option<String>, pub tracking_url: Option<String>, pub travel_insurance: Option<String>, pub variable_rates_last_updated: Option<String>, pub variable_rates_update_frequency: Option<String>,
}
Expand description

A credit card offer. There are many possible result fields. We provide two different views of the data, or “projections.” The “full” projection includes every result field. And the “summary” projection, which is the default, includes a smaller subset of the fields. The fields included in the summary projection are marked as such in their descriptions.

§Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields§

§additional_card_benefits: Option<Vec<String>>

More marketing copy about the card’s benefits. A summary field.

§additional_card_holder_fee: Option<String>

Any extra fees levied on card holders.

§age_minimum: Option<f64>

The youngest a recipient of this card may be.

§age_minimum_details: Option<String>

Text describing the details of the age minimum restriction.

§annual_fee: Option<f64>

The ongoing annual fee, in dollars.

§annual_fee_display: Option<String>

Text describing the annual fee, including any difference for the first year. A summary field.

§annual_reward_maximum: Option<f64>

The largest number of units you may accumulate in a year.

§approved_categories: Option<Vec<String>>

Possible categories for this card, eg “Low Interest” or “Good.” A summary field.

§apr_display: Option<String>

Text describing the purchase APR. A summary field.

§balance_computation_method: Option<String>

Text describing how the balance is computed. A summary field.

§balance_transfer_terms: Option<String>

Text describing the terms for balance transfers. A summary field.

§bonus_rewards: Option<Vec<CcOfferBonusRewards>>

For cards with rewards programs, extra circumstances whereby additional rewards may be granted.

§car_rental_insurance: Option<String>

If you get coverage when you use the card for the given activity, this field describes it.

§card_benefits: Option<Vec<String>>

A list of what the issuer thinks are the most important benefits of the card. Usually summarizes the rewards program, if there is one. A summary field.

§card_name: Option<String>

The issuer’s name for the card, including any trademark or service mark designators. A summary field.

§card_type: Option<String>

What kind of credit card this is, for example secured or unsecured.

§cash_advance_terms: Option<String>

Text describing the terms for cash advances. A summary field.

§credit_limit_max: Option<f64>

The high end for credit limits the issuer imposes on recipients of this card.

§credit_limit_min: Option<f64>

The low end for credit limits the issuer imposes on recipients of this card.

§credit_rating_display: Option<String>

Text describing the credit ratings required for recipients of this card, for example “Excellent/Good.” A summary field.

§default_fees: Option<Vec<CcOfferDefaultFees>>

Fees for defaulting on your payments.

§disclaimer: Option<String>

A notice that, if present, is referenced via an asterisk by many of the other summary fields. If this field is present, it will always start with an asterisk (“*”), and must be prominently displayed with the offer. A summary field.

§emergency_insurance: Option<String>

If you get coverage when you use the card for the given activity, this field describes it.

§existing_customer_only: Option<bool>

Whether this card is only available to existing customers of the issuer.

§extended_warranty: Option<String>

If you get coverage when you use the card for the given activity, this field describes it.

§first_year_annual_fee: Option<f64>

The annual fee for the first year, if different from the ongoing fee. Optional.

§flight_accident_insurance: Option<String>

If you get coverage when you use the card for the given activity, this field describes it.

§foreign_currency_transaction_fee: Option<String>

Fee for each transaction involving a foreign currency.

§fraud_liability: Option<String>

If you get coverage when you use the card for the given activity, this field describes it.

§grace_period_display: Option<String>

Text describing the grace period before finance charges apply. A summary field.

§image_url: Option<String>

The link to the image of the card that is shown on Connect Commerce. A summary field.

§initial_setup_and_processing_fee: Option<String>

Fee for setting up the card.

§intro_balance_transfer_terms: Option<String>

Text describing the terms for introductory period balance transfers. A summary field.

§intro_cash_advance_terms: Option<String>

Text describing the terms for introductory period cash advances. A summary field.

§intro_purchase_terms: Option<String>

Text describing the terms for introductory period purchases. A summary field.

§issuer: Option<String>

Name of card issuer. A summary field.

§issuer_id: Option<String>

The Google Affiliate Network ID of the advertiser making this offer.

§issuer_website: Option<String>

The generic link to the issuer’s site.

§kind: Option<String>

The kind for one credit card offer. A summary field.

§landing_page_url: Option<String>

The link to the issuer’s page for this card. A summary field.

§late_payment_fee: Option<String>

Text describing how much a late payment will cost, eg “up to $35.” A summary field.

§luggage_insurance: Option<String>

If you get coverage when you use the card for the given activity, this field describes it.

§max_purchase_rate: Option<f64>

The highest interest rate the issuer charges on this card. Expressed as an absolute number, not as a percentage.

§min_purchase_rate: Option<f64>

The lowest interest rate the issuer charges on this card. Expressed as an absolute number, not as a percentage.

§minimum_finance_charge: Option<String>

Text describing how much missing the grace period will cost.

§network: Option<String>

Which network (eg Visa) the card belongs to. A summary field.

§offer_id: Option<String>

This offer’s ID. A summary field.

§offers_immediate_cash_reward: Option<bool>

Whether a cash reward program lets you get cash back sooner than end of year or other longish period.

§over_limit_fee: Option<String>

Fee for exceeding the card’s charge limit.

§prohibited_categories: Option<Vec<String>>

Categories in which the issuer does not wish the card to be displayed. A summary field.

§purchase_rate_additional_details: Option<String>

Text describing any additional details for the purchase rate. A summary field.

§purchase_rate_type: Option<String>

Fixed or variable.

§returned_payment_fee: Option<String>

Text describing the fee for a payment that doesn’t clear. A summary field.

§reward_partner: Option<String>

The company that redeems the rewards, if different from the issuer.

§reward_unit: Option<String>

For cards with rewards programs, the unit of reward. For example, miles, cash back, points.

§rewards: Option<Vec<CcOfferRewards>>

For cards with rewards programs, detailed rules about how the program works.

§rewards_expire: Option<bool>

Whether accumulated rewards ever expire.

§rewards_have_blackout_dates: Option<bool>

For airline miles rewards, tells whether blackout dates apply to the miles.

§statement_copy_fee: Option<String>

Fee for requesting a copy of your statement.

§tracking_url: Option<String>

The link to ping to register a click on this offer. A summary field.

§travel_insurance: Option<String>

If you get coverage when you use the card for the given activity, this field describes it.

§variable_rates_last_updated: Option<String>

When variable rates were last updated.

§variable_rates_update_frequency: Option<String>

How often variable rates are updated.

Trait Implementations§

source§

impl Clone for CcOffer

source§

fn clone(&self) -> CcOffer

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for CcOffer

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for CcOffer

source§

fn default() -> CcOffer

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for CcOffer

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl Serialize for CcOffer

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl Resource for CcOffer

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,