lib/fawry/contracts/charge_request_contract.rb in fawry-1.3.0 vs lib/fawry/contracts/charge_request_contract.rb in fawry-1.3.1
- old
+ new
@@ -15,9 +15,10 @@
required(:item_id).value(:string)
required(:description).value(:string)
required(:price).value(:decimal)
required(:quantity).value(:integer)
end
+ optional(:language).value(included_in?: %w[ar-eg en-gb])
optional(:merchant_code).value(:string)
optional(:fawry_secure_key).value(:string)
optional(:currency_code).value(:string)
optional(:card_token).value(:string)
optional(:customer_email).value(:string)