Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

child?: Core.Graph
curie: "fx:transaction"
links: { fx:attributes: Customer.Rels.Attributes; fx:custom_fields: CustomFields; fx:customer: Customer.Graph; fx:items: Customer.Rels.Items; fx:receipt: any; self: Customer.Rels.Transaction }

Type declaration

props: { currency_code: string; currency_symbol: string; customer_email: string; customer_first_name: string; customer_ip: string; customer_last_name: string; customer_tax_id: string; data_is_fed: boolean; date_created: null | string; date_modified: null | string; display_id: string | number; hide_transaction: boolean; id: number; ip_country: string; is_test: boolean; locale_code: string; status: "" | "capturing" | "captured" | "approved" | "authorized" | "pending" | "completed" | "problem" | "pending_fraud_review" | "rejected" | "declined" | "refunding" | "refunded" | "voided" | "verified"; total_future_shipping: string; total_item_price: string; total_order: number; total_shipping: string; total_tax: string; transaction_date: string; type: "" | "updateinfo" | "subscription_modification" | "subscription_renewal" | "subscription_cancellation" }

Type declaration

  • currency_code: string

    The 3 character ISO code for the currency.

  • currency_symbol: string

    The currency symbol, such as $, £, €, etc.

  • customer_email: string

    The customer's email address at the time of the transaction.

  • customer_first_name: string

    The customer's given name at the time of the transaction.

  • customer_ip: string

    The customer's ip address at the time of the transaction.

  • customer_last_name: string

    The customer's surname at the time of the transaction.

  • customer_tax_id: string

    If the customer provided a tax_id during checkout, it will be included here.

  • data_is_fed: boolean

    If the webhook for this transaction has been successfully sent, this will be true. You can also modify this to meet your needs.

  • date_created: null | string

    The date this resource was created.

  • date_modified: null | string

    The date this resource was last modified.

  • display_id: string | number

    If custom transaction IDs, prefixes, or suffixes have been configured, this value will contain the custom ID (which may be a string). Otherwise it will be identical to the id value (an integer).

  • hide_transaction: boolean

    Set this to true to hide it in the FoxyCart admin.

  • id: number

    The order number.

  • ip_country: string

    The country of the customer's ip address.

  • is_test: boolean

    True if this transaction was a test transaction and not run against a live payment gateway.

  • locale_code: string

    The locale code of this transaction. This will be a copy of the store's local_code at the time of the transaction.

  • status: "" | "capturing" | "captured" | "approved" | "authorized" | "pending" | "completed" | "problem" | "pending_fraud_review" | "rejected" | "declined" | "refunding" | "refunded" | "voided" | "verified"

    Used for transactions processed with a hosted payment gateway which can change the status of the transaction after it is originally posted. If the status is empty, a normal payment gateway was used and the transaction should be considered completed.

  • total_future_shipping: string

    If this transaction has any shippable subscription items which will process in the future, this will be the total amount of shipping costs for those items.

  • total_item_price: string

    Total amount of the items in this transaction.

  • total_order: number

    Total amount of this transaction including all items, taxes, shipping costs and discounts.

  • total_shipping: string

    Total amount of the shipping costs for this transaction.

  • total_tax: string

    Total amount of the taxes for this transaction.

  • transaction_date: string

    The date of this transaction shown in the timezone of the store. The format used is ISO 8601 (or 'c' format string for PHP developers).

  • type: "" | "updateinfo" | "subscription_modification" | "subscription_renewal" | "subscription_cancellation"

    The type of transaction that has occurred.

zooms: { attributes: Customer.Rels.Attributes; custom_fields?: CustomFields; customer?: Customer.Graph; items?: Customer.Rels.Items }

Type declaration

Generated using TypeDoc