Sha256: f38880acf3d88735f4d5bb94901e410527528d4d81ea4d5ea7aa5ae68cf0ca6d
Contents?: true
Size: 624 Bytes
Versions: 1
Compression:
Stored size: 624 Bytes
Contents
# frozen_string_literal: true module Docdata module Order # Payment method in Docdata, optionally with issuers. class PaymentMethod IDEAL = "IDEAL" VISA = "VISA" MASTER_CARD = "MASTERCARD" MAESTRO = "MAESTRO" AMERICAN_EXPRESS = "AMEX" PAYPAL = "PAYPAL_EXPRESS_CHECKOUT" SEPA_DIRECT_DEBIT = "SEPA_DIRECT_DEBIT" BANCONTACT = "MISTERCASH" SOFORT = "EBANKING" attr_accessor :payment_method, :issuers def initialize(payment_method) @payment_method = payment_method end def to_s payment_method end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
docdata-order-2.0.0 | lib/docdata/order/payment_method.rb |