alias Stripe::SubscriptionCancellationDetails

Overview

Details about why this subscription was cancelled

Alias Definition

Stripe::CancellationDetails

Defined in:

stripe/models/subscription_cancellation_details.cr

Constant Summary

ERROR_MESSAGE_FOR_FEEDBACK = "invalid value for \"feedback\", must be one of [customer_service, low_quality, missing_features, other, switched_service, too_complex, too_expensive, unused]."
ERROR_MESSAGE_FOR_REASON = "invalid value for \"reason\", must be one of [cancellation_requested, payment_disputed, payment_failed]."
MAX_LENGTH_FOR_COMMENT = 5000
VALID_VALUES_FOR_FEEDBACK = String.static_array("customer_service", "low_quality", "missing_features", "other", "switched_service", "too_complex", "too_expensive", "unused")
VALID_VALUES_FOR_REASON = String.static_array("cancellation_requested", "payment_disputed", "payment_failed")