Method: OryClient::Subscription#==
- Defined in:
- lib/ory-client/models/subscription.rb
#==(o) ⇒ Object
Checks equality by comparing each attribute.
277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 |
# File 'lib/ory-client/models/subscription.rb', line 277 def ==(o) return true if self.equal?(o) self.class == o.class && created_at == o.created_at && currency == o.currency && current_interval == o.current_interval && current_plan == o.current_plan && customer_id == o.customer_id && id == o.id && interval_changes_to == o.interval_changes_to && ongoing_stripe_checkout_id == o.ongoing_stripe_checkout_id && payed_until == o.payed_until && plan_changes_at == o.plan_changes_at && plan_changes_to == o.plan_changes_to && status == o.status && updated_at == o.updated_at end |