Sha256: 507443b5be05d1dbc8dd14926fdd333b3ef703ab9375dac8ed7ce642be31af8e

Contents?: true

Size: 568 Bytes

Versions: 20

Compression:

Stored size: 568 Bytes

Contents

# frozen_string_literal: true

module SolidusPaypalCommercePlatform
  # https://developer.paypal.com/docs/api/partner-referrals/v1/#merchant-integration_credentials
  class FetchMerchantCredentialsRequest
    attr_accessor :verb, :path, :headers, :body

    def initialize(partner_merchant_id:, access_token:)
      @verb = "GET"
      @path = "/v1/customer/partners/#{partner_merchant_id}/merchant-integrations/credentials"
      @headers = {
        "Content-Type" => "application/json",
        "Authorization" => "Bearer #{access_token}"
      }
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
solidus_paypal_commerce_platform-1.0.3 lib/solidus_paypal_commerce_platform/fetch_merchant_credentials_request.rb
solidus_paypal_commerce_platform-1.0.2 lib/solidus_paypal_commerce_platform/fetch_merchant_credentials_request.rb
solidus_paypal_commerce_platform-0.7.1 lib/solidus_paypal_commerce_platform/fetch_merchant_credentials_request.rb
solidus_paypal_commerce_platform-1.0.1 lib/solidus_paypal_commerce_platform/fetch_merchant_credentials_request.rb
solidus_paypal_commerce_platform-1.0.0 lib/solidus_paypal_commerce_platform/fetch_merchant_credentials_request.rb
solidus_paypal_commerce_platform-0.7.0 lib/solidus_paypal_commerce_platform/fetch_merchant_credentials_request.rb
solidus_paypal_commerce_platform-1.0.0.beta3 lib/solidus_paypal_commerce_platform/fetch_merchant_credentials_request.rb
solidus_paypal_commerce_platform-1.0.0.beta2 lib/solidus_paypal_commerce_platform/fetch_merchant_credentials_request.rb
solidus_paypal_commerce_platform-1.0.0.beta1 lib/solidus_paypal_commerce_platform/fetch_merchant_credentials_request.rb
solidus_paypal_commerce_platform-0.6.0 lib/solidus_paypal_commerce_platform/fetch_merchant_credentials_request.rb
solidus_paypal_commerce_platform-0.5.0 lib/solidus_paypal_commerce_platform/fetch_merchant_credentials_request.rb
solidus_paypal_commerce_platform-0.4.0 lib/solidus_paypal_commerce_platform/fetch_merchant_credentials_request.rb
solidus_paypal_commerce_platform-0.3.2 lib/solidus_paypal_commerce_platform/fetch_merchant_credentials_request.rb
solidus_paypal_commerce_platform-0.3.1 lib/solidus_paypal_commerce_platform/fetch_merchant_credentials_request.rb
solidus_paypal_commerce_platform-0.3.0 lib/solidus_paypal_commerce_platform/fetch_merchant_credentials_request.rb
solidus_paypal_commerce_platform-0.2.2 lib/solidus_paypal_commerce_platform/fetch_merchant_credentials_request.rb
solidus_paypal_commerce_platform-0.2.1 lib/solidus_paypal_commerce_platform/fetch_merchant_credentials_request.rb
solidus_paypal_commerce_platform-0.2.0 lib/solidus_paypal_commerce_platform/fetch_merchant_credentials_request.rb
solidus_paypal_commerce_platform-0.1.0 lib/solidus_paypal_commerce_platform/fetch_merchant_credentials_request.rb
solidus_paypal_commerce_platform-0.0.1 lib/solidus_paypal_commerce_platform/fetch_merchant_credentials_request.rb