MCPcopy Create free account
hub / github.com/DiUS/java-faker / Business

Class Business

src/main/java/com/github/javafaker/Business.java:3–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1package com.github.javafaker;
2
3public class Business {
4
5 private final Faker faker;
6
7 protected Business(Faker faker) {
8 this.faker = faker;
9 }
10
11 public String creditCardNumber() {
12 return faker.fakeValuesService().resolve("business.credit_card_numbers", this, faker);
13 }
14
15 public String creditCardType() {
16 return faker.fakeValuesService().resolve("business.credit_card_types", this, faker);
17 }
18
19 public String creditCardExpiry() {
20 return faker.fakeValuesService().resolve("business.credit_card_expiry_dates", this, faker);
21 }
22}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected