Method: AdvancedBilling::Coupon.optionals
- Defined in:
- lib/advanced_billing/models/coupon.rb
.optionals ⇒ Object
An array for optional fields
173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 |
# File 'lib/advanced_billing/models/coupon.rb', line 173 def self.optionals %w[ id name code description amount amount_in_cents product_family_id product_family_name start_date end_date percentage recurring recurring_scheme duration_period_count duration_interval duration_interval_unit duration_interval_span allow_negative_balance archived_at conversion_limit stackable compounding_strategy use_site_exchange_rate created_at updated_at discount_type exclude_mid_period_allocations apply_on_cancel_at_end_of_period apply_on_subscription_expiration coupon_restrictions ] end |