Skip to content

Commit

Permalink
Enumeration
Browse files Browse the repository at this point in the history
  • Loading branch information
gladyshev committed Oct 7, 2021
1 parent 6326ec4 commit dc7252b
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Enumeration/AdvertiserBillingType.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

declare(strict_types=1);

namespace Promopult\TikTokMarketingApi\Enumeration;

final class AdvertiserBillingType
{
public const TRANS_TYPE_TRANSFER = 'TRANS_TYPE_TRANSFER'; // Transfer
public const TRANS_TYPE_TAX = 'TRANS_TYPE_TAX'; // Consumption
public const TRANS_TYPE_COST = 'TRANS_TYPE_COST'; // Tax
}
13 changes: 13 additions & 0 deletions src/Enumeration/AdvertiserDisplayStatus.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

declare(strict_types=1);

namespace Promopult\TikTokMarketingApi\Enumeration;

final class AdvertiserDisplayStatus
{
public const SHOW_ACCOUNT_STATUS_NOT_APPROVED = 'SHOW_ACCOUNT_STATUS_NOT_APPROVED'; // Failed
public const SHOW_ACCOUNT_STATUS_APPROVED = 'SHOW_ACCOUNT_STATUS_APPROVED'; // Passed
public const SHOW_ACCOUNT_STATUS_IN_REVIEW = 'SHOW_ACCOUNT_STATUS_IN_REVIEW'; // Under review
public const SHOW_ACCOUNT_STATUS_PUNISHED = 'SHOW_ACCOUNT_STATUS_PUNISHED'; // Punishment
}
13 changes: 13 additions & 0 deletions src/Enumeration/AdvertiserRole.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

declare(strict_types=1);

namespace Promopult\TikTokMarketingApi\Enumeration;

final class AdvertiserRole
{
public const ROLE_ADVERTISER = 'ROLE_ADVERTISER'; // Standard advertiser (direct customer)
public const ROLE_CHILD_ADVERTISER = 'ROLE_CHILD_ADVERTISER'; // Standard advertiser (agency sub-account)
public const ROLE_CHILD_AGENT = 'ROLE_CHILD_AGENT'; // Secondary agency
public const ROLE_AGENT = 'ROLE_AGENT'; // Primary agency
}
13 changes: 13 additions & 0 deletions src/Enumeration/BusinessCenterStatus.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

declare(strict_types=1);

namespace Promopult\TikTokMarketingApi\Enumeration;

final class BusinessCenterStatus
{
public const REVIEWING = 'REVIEWING'; // Under review
public const DENY = 'DENY'; // Rejected
public const ENABLE = 'ENABLE'; // Passed
public const PUNISH = 'PUNISH'; // Disabled
}
13 changes: 13 additions & 0 deletions src/Enumeration/BusinessCenterType.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

declare(strict_types=1);

namespace Promopult\TikTokMarketingApi\Enumeration;

final class BusinessCenterType
{
public const NORMAL = 'NORMAL'; // General
public const AGENCY = 'AGENCY'; // Agent
public const DIRECT = 'DIRECT'; // Direct customer
public const SELF_SERVICE = 'SELF_SERVICE'; // Self-service
}

0 comments on commit dc7252b

Please sign in to comment.