Refunds - aareano/ifshop-wiki GitHub Wiki
The Refund event class contains the following events:
- an refund is created
The refund
drop is the top-level drop that's defined for this class. Below is an example of the tree of liquid drops available to you.
Example Usage: To acces the note on the refund of the order, you would use refund.note
.
order
├── billing_address
├── customer
│ ├── customer_address
│ └── customer_default_address
├── discount
├── fulfillment
│ ├── fulfillment_line_item
│ │ ├── line_item
│ │ │ ├── product
│ │ │ │ ├── collection
│ │ │ │ ├── image
│ │ │ │ ├── image
│ │ │ │ ├── image
│ │ │ │ └── product_option
│ │ │ └── variant
│ │ │ └── image
│ ├── fulfillment_line_item
│ │ └── line_item
│ │ ├── product
│ │ │ ├── collection
│ │ │ ├── image
│ │ │ ├── image
│ │ │ ├── image
│ │ │ ├── product_option
│ │ │ └── product_option
│ │ └── variant
│ │ └── image
├── line_item
│ ├── product
│ │ ├── collection
│ │ ├── image
│ │ ├── image
│ │ ├── image
│ │ └── product_option
│ └── variant
│ └── image
├── line_item
│ ├── product
│ │ ├── collection
│ │ ├── image
│ │ ├── image
│ │ ├── image
│ │ ├── product_option
│ │ └── product_option
│ └── variant
│ └── image
├── refund
│ ├── transaction
│ │ └── receipt
│ ├── refund_line_item
│ │ └── line_item
│ └── refund_line_item
│ └── line_item
├── refund
│ ├── transaction
│ │ └── receipt
│ ├── refund_line_item
│ │ └── line_item
│ └── refund_line_item
│ └── line_item
├── transaction
│ ├── payment_details
│ └── receipt
├── transaction
│ └── receipt
├── transaction
│ └── receipt
├── shipping_address
├── shipping_method
└── shop
└── collection
The tree is representative of what you can expect for the following events:
- an refund is created
Note: This tree is an illustrative, but not exhaustive - in theory, it goes on forever! - demonstration of the assemblage and structure of the data available to you.
Warning: The tree of liquid drops you encounter in practice will almost certainly have different dimensions than this. This is merely an example to show structure.