From b81faf7b4d06a10d95b55f788c66929c53a15255 Mon Sep 17 00:00:00 2001 From: Benjamin Eckel Date: Mon, 11 Dec 2017 12:37:05 -0600 Subject: [PATCH] Add missing writeable fields to AddOn Resolves #336 --- lib/recurly/addon.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/recurly/addon.php b/lib/recurly/addon.php index 3184b5ff..04e6c4fe 100644 --- a/lib/recurly/addon.php +++ b/lib/recurly/addon.php @@ -60,7 +60,8 @@ protected function getWriteableAttributes() { return array( 'add_on_code', 'name', 'display_quantity', 'default_quantity', 'unit_amount_in_cents', 'accounting_code', 'tax_code', - 'measured_unit_id', 'usage_type', 'add_on_type', 'revenue_schedule_type' + 'measured_unit_id', 'usage_type', 'add_on_type', 'revenue_schedule_type', + 'optional', 'display_quantity_on_hosted_page' ); } }