Charge
Charge model class.
Description #
Source #
Changelog #
| Version | Description |
|---|---|
| 4.25.0 | Introduced. |
Methods #
- create — Creates a charge.
- get_date — Returns the timestamp when the charge was created.
- get_price — Returns the price of the charge.
- is_failed — Returns whether the charge is failed.
- is_success — Returns whether the charge is successful.
- is_trial — Returns whether the charge is a trial.
- map_charge_meta — Maps the charge meta.