Bazaar.Schemas.Common.Types.CardPaymentInstrument (Bazaar v0.3.0)

Copy Markdown View Source

Card Payment Instrument

A basic card payment instrument with visible card details. Can be inherited by a handler's instrument schema to define handler-specific display details or more complex credential structures.

Generated from: card_payment_instrument.json

Summary

Functions

Creates a changeset for validating and casting params.

Returns the description for a field, if available.

Creates a new changeset from params.

Functions

changeset(struct \\ %__MODULE__{}, params)

Creates a changeset for validating and casting params.

field_description(field)

Returns the description for a field, if available.

new(params \\ %{})

Creates a new changeset from params.