Skip to content

Add fake.creditCard.{number,verificationCode,expiry} #75

@serhalp

Description

@serhalp

Add some credit card factories nested under fake.creditCard:

  • number: generate a credit card number conforming to the format of the major U.S. credit card providers
  • (?) verificationCode (or something other name): generate a CVV/CSC/etc. conforming to the format of the major U.S. credit card providers
  • (?) expiry generate a reasonable credit card expiry date in the MM/YYYY string format

Are these last two useful? Either way, I'd propose to nest the CC number method under fake.creditCard.number() for future extensibility.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions