Sha256: cc11838f4392283d4a4fbe41937e8598f1ed710eafd8609a7680a1cd0e032afb

Contents?: true

Size: 1.23 KB

Versions: 2

Compression:

Stored size: 1.23 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

    # [Billing] Billing information
    attr_accessor :billing

    # [SecurityInfo] Security & Validation information
    attr_accessor :security_info

    # [CultureCode] The language to use for the payment page
    attr_accessor :culture
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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