Method: TalonOne::CustomerActivityReport#valid?
- Defined in:
- lib/talon_one/models/customer_activity_report.rb
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 |
# File 'lib/talon_one/models/customer_activity_report.rb', line 230 def valid? return false if @integration_id.nil? return false if @integration_id.to_s.length > 1000 return false if @created.nil? return false if @name.nil? return false if @customer_id.nil? return false if @coupon_redemptions.nil? return false if @coupon_use_attempts.nil? return false if @coupon_failed_attempts.nil? return false if @accrued_discounts.nil? return false if @accrued_revenue.nil? return false if @total_orders.nil? return false if @total_orders_no_coupon.nil? return false if @campaign_name.nil? true end |