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

Add external_sku to Adjustment #458

Merged
merged 1 commit into from
Feb 5, 2020
Merged
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
4 changes: 3 additions & 1 deletion lib/recurly/adjustment.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* @property Recurly_Stub $account The URL of the account for the specified adjustment.
* @property Recurly_Stub $invoice The URL of the invoice for the specified adjustment.
* @property Recurly_Stub $item The URL of the item for the specified adjustment.
* @property string $item_code The item_code for the item associated with the adjustment, if there is one. Associates the adjustment with an item and sets related attributes on the adjustment from the default values on the item. <description>, <product_code>, <accounting_code>, <tax_exempt> and <tax_code> are not accepted when <item_code> is present.
* @property string $external_sku Only shows if adjustment is created with an item_code with an external_sku.
* @property string $uuid The unique identifier of the adjustment.
* @property string $state The state of the adjustments to return: pending or invoiced.
* @property string $description Description of the adjustment for the adjustment. Max 255 characters.
Expand Down Expand Up @@ -105,7 +107,7 @@ protected function getWriteableAttributes() {
'currency', 'unit_amount_in_cents', 'quantity', 'description',
'accounting_code', 'tax_exempt', 'tax_code', 'start_date', 'end_date',
'revenue_schedule_type', 'origin', 'product_code', 'credit_reason_code',
'shipping_address', 'shipping_address_id', 'item_code'
'shipping_address', 'shipping_address_id', 'item_code', 'external_sku'
);
}
}