Function
| Static Public Summary | ||
| public |
async getAddress(locale: {countryCode: string, stateCode: string}): Address Returns a random fake address. |
|
| public |
async getCreditcard(creditcardBrand: {creditcardBrand: string}): Creditcard Returns a random fake credit card. |
|
| public |
async getPhonenumbers(locale: {countryCode: string, stateCode: string}): Phonenumber Returns a random fake phonenumber. |
|
| public |
async getProfile(locale: {countryCode: string, stateCode: string}): Profile Returns a random fake profile. |
|
| public |
async getZipcodes(locale: {countryCode: string, stateCode: string}): Zipcode Returns a random fake zipcode. |
|
Static Public
public async getAddress(locale: {countryCode: string, stateCode: string}): Address source
import {getAddress} from 'fakexy/fakexy.js/main.js'Returns a random fake address.
public async getCreditcard(creditcardBrand: {creditcardBrand: string}): Creditcard source
import {getCreditcard} from 'fakexy/fakexy.js/main.js'Returns a random fake credit card.
Params:
| Name | Type | Attribute | Description |
| creditcardBrand | {creditcardBrand: string} |
|
If specified, return a credit card with the specified brand |
public async getPhonenumbers(locale: {countryCode: string, stateCode: string}): Phonenumber source
import {getPhonenumbers} from 'fakexy/fakexy.js/main.js'Returns a random fake phonenumber.
public async getProfile(locale: {countryCode: string, stateCode: string}): Profile source
import {getProfile} from 'fakexy/fakexy.js/main.js'Returns a random fake profile.
public async getZipcodes(locale: {countryCode: string, stateCode: string}): Zipcode source
import {getZipcodes} from 'fakexy/fakexy.js/main.js'Returns a random fake zipcode.
