Skip to content

Instantly share code, notes, and snippets.

@erenkulaksiz
Created March 19, 2024 18:16
Show Gist options
  • Save erenkulaksiz/ad4638504d74a26891f7a8753b06eec4 to your computer and use it in GitHub Desktop.
Save erenkulaksiz/ad4638504d74a26891f7a8753b06eec4 to your computer and use it in GitHub Desktop.
Google Play Android Sub types
<?php
namespace App\Enums;
/**
* Class SubscriptionTypeEnums
* @package App\Enums
*/
final class SubscriptionTypeEnums
{
const SUBSCRIPTION_RECOVERED = 1;
const SUBSCRIPTION_RENEWED = 2;
const SUBSCRIPTION_CANCELED = 3;
const SUBSCRIPTION_PURCHASED = 4;
const SUBSCRIPTION_ON_HOLD = 5;
const SUBSCRIPTION_IN_GRACE_PERIOD = 6;
const SUBSCRIPTION_RESTARTED = 7;
const SUBSCRIPTION_PRICE_CHANGE_CONFIRMED = 8;
const SUBSCRIPTION_DEFERRED = 9;
const SUBSCRIPTION_PAUSED = 10;
const SUBSCRIPTION_PAUSE_SCHEDULE_CHANGED = 11;
const SUBSCRIPTION_REVOKED = 12;
const SUBSCRIPTION_EXPIRED = 13;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment