Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

child?: Core.Graph
curie: "fx:discount"
links: { fx:coupon: Coupon; fx:coupon_code: CouponCode; fx:customer: Customer; fx:store: Backend.Rels.Store; fx:transaction: Backend.Rels.Transaction; self: Discount }

Type declaration

  • fx:coupon: Coupon

    Coupon that was used to get this discount.

  • fx:coupon_code: CouponCode

    Coupon code that was used to get this discount.

  • fx:customer: Customer

    Customer who used this discount.

  • fx:store: Backend.Rels.Store

    Store that provided this discount.

  • fx:transaction: Backend.Rels.Transaction

    Transaction this discount was applied to.

  • self: Discount

    This resource.

props: { amount: number; code: string; date_created: null | string; date_modified: null | string; display: number; is_future_discount: boolean; is_taxable: boolean; name: string }

Type declaration

  • amount: number

    The amount of the discount.

  • code: string

    The original coupon code used for this discount.

  • date_created: null | string

    The date this resource was created.

  • date_modified: null | string

    The date this resource was last modified.

  • display: number

    The discount displayed in the format of the currency the transaction took place in.

  • is_future_discount: boolean

    Whether or not this discount is part of a subscription that is to be charged in the future based on when this transaction was processed.

  • is_taxable: boolean

    Whether or not this discount was taxable.

  • name: string

    The original coupon name used for this discount.

zooms?: Readonly<Record<string, undefined | Core.Graph>>

Generated using TypeDoc