class OpenApiSDK::Models::Components::SubscriptionCancel
def ==(other)
def ==(other) return false unless other.is_a?(self.class) return false unless @cancel_at_period_end == other.cancel_at_period_end return false unless @customer_cancellation_reason == other.customer_cancellation_reason return false unless @customer_cancellation_comment == other.customer_cancellation_comment true end
def initialize(cancel_at_period_end:, customer_cancellation_reason: nil, customer_cancellation_comment: nil)
def initialize(cancel_at_period_end:, customer_cancellation_reason: nil, customer_cancellation_comment: nil) @cancel_at_period_end = cancel_at_period_end @customer_cancellation_reason = customer_cancellation_reason @customer_cancellation_comment = customer_cancellation_comment end