Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHPDoc: fix type of invoice origin - should be string instead of int #580

Merged
merged 2 commits into from
Feb 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/recurly/adjustment.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* @property boolean $taxable true if the current adjustment is taxable, false if it is not.
* @property string $tax_type The tax type of the adjustment.
* @property string $tax_region The tax region of the adjustment.
* @property string $tax_rate The tax rate of the adjustment.
* @property float $tax_rate The tax rate of the adjustment.
* @property boolean $tax_exempt true exempts tax on the charge, false applies tax on the charge. If not defined, then defaults to the Plan and Site settings. This attribute does not work for credits (negative adjustments). Credits are always post-tax. Pre-tax discounts should use the Coupons feature.
* @property mixed[] $tax_details The nested address information of the adjustment: name, type, tax_rate, tax_in_cents.
* @property string $tax_code Optional field for EU VAT merchants and Avalara AvaTax Pro merchants. If you are using Recurly's EU VAT feature, you can use values of unknown, physical, or digital. If you have your own AvaTax account configured, you can use Avalara tax codes to assign custom tax rules.
Expand Down
2 changes: 1 addition & 1 deletion lib/recurly/invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* @property DateTime $due_on If type = charge, will have a value that is the created_at plus the terms. If type = credit, will be null.
* @property int $balance_in_cents The total_in_cents minus all successful transactions and credit payments for the invoice.
* @property string $type Whether the invoice is a credit invoice or charge invoice.
* @property int $origin The event that created the invoice.
* @property string $origin The event that created the invoice.
* @property Recurly_Stub $credit_invoices
* @property int $refundable_total_in_cents
* @property array $credit_payments
Expand Down