Skip to content

Commit

Permalink
Reorder enums and remove descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
richardm-stripe committed Apr 3, 2020
1 parent 59e55ce commit fe501e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
12 changes: 1 addition & 11 deletions lib/Person.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,9 @@ class Person extends ApiResource
use ApiOperations\Delete;
use ApiOperations\Update;

/**
* Possible string representations of a person's gender.
*
* @see https://stripe.com/docs/api/persons/object#person_object-gender
*/
const GENDER_MALE = 'male';
const GENDER_FEMALE = 'female';
const GENDER_MALE = 'male';

/**
* Possible string representations of a person's verification status.
*
* @see https://stripe.com/docs/api/persons/object#person_object-verification-status
*/
const VERIFICATION_STATUS_PENDING = 'pending';
const VERIFICATION_STATUS_UNVERIFIED = 'unverified';
const VERIFICATION_STATUS_VERIFIED = 'verified';
Expand Down
12 changes: 1 addition & 11 deletions lib/TaxId.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ class TaxId extends ApiResource

use ApiOperations\Delete;

/**
* Possible string representations of a tax id's type.
*
* @see https://stripe.com/docs/api/customer_tax_ids/object#tax_id_object-type
*/
const TYPE_AU_ABN = 'au_abn';
const TYPE_CA_BN = 'ca_bn';
const TYPE_CA_QST = 'ca_qst';
Expand All @@ -51,15 +46,10 @@ class TaxId extends ApiResource
const TYPE_SG_UEN = 'sg_uen';
const TYPE_TH_VAT = 'th_vat';
const TYPE_TW_VAT = 'tw_vat';
const TYPE_US_EIN = 'us_ein';
const TYPE_UNKNOWN = 'unknown';
const TYPE_US_EIN = 'us_ein';
const TYPE_ZA_VAT = 'za_vat';

/**
* Possible string representations of the verification status.
*
* @see https://stripe.com/docs/api/customer_tax_ids/object#tax_id_object-verification
*/
const VERIFICATION_STATUS_PENDING = 'pending';
const VERIFICATION_STATUS_UNAVAILABLE = 'unavailable';
const VERIFICATION_STATUS_UNVERIFIED = 'unverified';
Expand Down

0 comments on commit fe501e3

Please sign in to comment.