Sha256: a55aa2566fbe68ad7e16bc8efb455e755bd97d46b33b282db7c5ede43f70cea3

Contents?: true

Size: 1.03 KB

Versions: 1

Compression:

Stored size: 1.03 KB

Contents

require_relative 'pay_in'
require_relative '../../../common/jsonifier'

module MangoModel

  # Card Direct Pay In entity
  # The Card Direct Pay In object lets you pay with a registered card.
  class CardDirectPayIn < PayIn
    include MangoPay::Jsonifier

    # [String] URL which users are automatically redirected to
    # after 3D secure validation (if activated)
    attr_accessor :secure_mode_return_url

    # [CardType] ID of the card
    attr_accessor :card_id

    # [SecureMode] The Secure Mode Corresponds to '3D secure' for CB Visa and
    # Mastercard. This field allows manual activation.
    attr_accessor :secure_mode

    # [String] Custom description to appear on the user's bank statement.
    # (max 100 alphanumeric/spaces)
    attr_accessor :statement_descriptor

    # [true/false] Whether the Secure Mode was used
    attr_accessor :secure_mode_needed

    # [String] The URL where to redirect users to proceed to
    # 3D secure validation
    attr_accessor :secure_mode_redirect_url
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mangopay-v4-4.0.0 lib/mangopay/model/entity/pay_in/card_direct_pay_in.rb