Sha256: 1de24380566240d8df653920761311eeb654fb818480587a811fe9eaf0da0243

Contents?: true

Size: 736 Bytes

Versions: 5

Compression:

Stored size: 736 Bytes

Contents

# frozen_string_literal: true

module Afterpay
  module Components
    class Merchant < Base
      # @attribute redirect_confirm_url
      # @return [String]
      # The user is redirected to this URL on confirmation.
      attr_accessor :redirect_confirm_url

      # @attribute redirect_cancel_url
      # @return [String]
      # The user to redirected to this URL if the payment process is cancelled.
      attr_accessor :redirect_cancel_url

      # @attribute popup_origin_url
      # @return [String]
      # URL to receive Javascript callbacks from Afterpay (e.g. onComplete, onShippingAddressChange, etc).
      # Include the scheme, hostname and port. Port is optional.
      attr_accessor :popup_origin_url
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
afterpay-0.6.0 lib/afterpay/components/merchant.rb
afterpay-0.5.0 lib/afterpay/components/merchant.rb
afterpay-0.4.0 lib/afterpay/components/merchant.rb
afterpay-0.3.0 lib/afterpay/components/merchant.rb
afterpay-0.2.0 lib/afterpay/components/merchant.rb