Sha256: 3f6148624ce3a0a794968e1ebe4a1db406f98b7cac4e91b21c753b0b44a9e5fe

Contents?: true

Size: 1.27 KB

Versions: 1

Compression:

Stored size: 1.27 KB

Contents

# typed: true
# frozen_string_literal: true

module EML
  module UK
    class Payload
      module Agreement
        class Show < ::EML::UK::Payload
          OPTIONAL_DEFAULTS = %i[merchant_group program].freeze

          private

          sig { params(bin: String).returns(String) }
          attr_accessor :bin

          sig { params(country: String).returns(String) }
          attr_accessor :country

          sig { params(developer: String).returns(String) }
          attr_accessor :developer

          sig { params(is_account_expiry: String).returns(String) }
          def is_account_expiry=(is_account_expiry)
            validate_boolean("is_account_expiry", is_account_expiry)
            @Is_account_expiry = is_account_expiry
          end

          sig { params(is_fee_free: String).returns(String) }
          def is_fee_free=(is_fee_free)
            validate_boolean("is_fee_free", is_fee_free)
            @Is_fee_free = is_fee_free
          end

          sig { params(merchant_group: String).returns(String) }
          attr_accessor :merchant_group

          sig { params(program: String).returns(String) }
          attr_accessor :program

          sig { params(region: String).returns(String) }
          attr_accessor :region
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
eml-1.0.0 lib/eml/uk/payload/agreement/show.rb