cancellationReason property

String? cancellationReason
getter/setter pair

Specifies the reason for the cancellation. Possible string values are:

  • "CANCELLATION_REASON_UNSPECIFIED" : Reason is unspecified.
  • "CANCELLATION_REASON_FRAUD" : Fraudualant transaction.
  • "CANCELLATION_REASON_REMORSE" : Buyer's remorse.
  • "CANCELLATION_REASON_ACCIDENTAL_PURCHASE" : Accidential purchase.
  • "CANCELLATION_REASON_PAST_DUE" : Payment is past due.
  • "CANCELLATION_REASON_ACCOUNT_CLOSED" : Used for notification only, do not use in Cancel API. User account closed.
  • "CANCELLATION_REASON_UPGRADE_DOWNGRADE" : Used for notification only, do not use in Cancel API. Cancellation due to upgrade or downgrade.
  • "CANCELLATION_REASON_USER_DELINQUENCY" : Cancellation due to user delinquency
  • "CANCELLATION_REASON_SYSTEM_ERROR" : Used for notification only, do not use in Cancel API. Cancellation due to an unrecoverable system error.
  • "CANCELLATION_REASON_SYSTEM_CANCEL" : Used for notification only, do not use in Cancel API. The subscription is cancelled by Google automatically since it is no longer valid.
  • "CANCELLATION_REASON_OTHER" : Other reason.

Implementation

core.String? cancellationReason;