package io.github.serpro69.kfaker.commerce

Classes

Name Description
class Faker

Typealias for the CommerceFaker

class CommerceFaker: Any

Provides access to fake data generators within the Commerce domain.

Each category (generator) from this CommerceFaker is represented by a property that (usually) has the same name as the .yml dictionary file.

Subpackages

Typealiases

Name Description
typealias Faker = CommerceFaker

Typealias for the CommerceFaker

Methods

faker

fun faker(block: Builder.()->Unit): CommerceFaker

Applies the block function to CommerceFaker.Builder and returns as an instance of CommerceFaker from that builder.

Parameters

Name Description
block: Builder.()->Unit

ReturnValue

Name Description
CommerceFaker