cancellationType property

String? cancellationType
getter/setter pair

The type of cancellation for the purchased subscription.

Required. Possible string values are:

  • "CANCELLATION_TYPE_UNSPECIFIED" : Cancellation type unspecified.
  • "USER_REQUESTED_STOP_RENEWALS" : Cancellation requested by the user, and the subscription can be restored. It only stops the subscription's next renewal. For an installment subscription, users still need to finish the commitment period. For more details on renewals and payments, see https://developer.android.com/google/play/billing/subscriptions#installments
  • "DEVELOPER_REQUESTED_STOP_PAYMENTS" : Cancellation requested by the developer, and the subscription cannot be restored. It stops the subscription's next payment. For an installment subscription, users will not need to pay the next payment and finish the commitment period. For more details on renewals and payments, see https://developer.android.com/google/play/billing/subscriptions#installments

Implementation

core.String? cancellationType;