Module: Tamara::JsonSchemas::Orders::Create

Includes:
CheckoutOptionalKeys, Validator
Included in:
Orders::Create
Defined in:
lib/tamara/json_schemas/orders/create.rb

Constant Summary collapse

PAYMENT_TYPES =
%w[PAY_BY_INSTALMENTS PAY_NOW].freeze
LOCALES =
%w[ar_SA en_US].freeze
REQUIRED_KEYS =
%w[order_reference_id country_code description total_amount shipping_amount tax_amount
consumer items merchant_url shipping_address payment_type instalments risk_assessment].freeze

Constants included from Validator

Validator::ERROR_MESSAGES

Method Summary

Methods included from Validator

#validate_params!

Methods included from CheckoutOptionalKeys

#checkout_optional_keys