lib/pbshipping/developer.rb
#
# MANAGING MERCHANTS
# API: POST /developers/{developerId}/merchants/registration
# API signature: post/developers/.../merchants/registration
#   
# Register your merchants or shippers, if you have signed up for the 
# bulk account payment model.
# 
# This method allows you to retrieve the merchant ID and related
# information, so that you can request transactions on their behalf. 
#    


Register your merchants or shippers, if you have signed up for the
bulk account payment model.

This method allows you to retrieve the merchant ID and related
information, so that you can request transactions on their behalf.
Register your merchants or shippers if you have signed up for the bulk account payment model . This method allows you to retrieve the merchant ID and related information so that you can request transactions on their behalf .
def registerMerchantBulkAccount(auth_obj, address)
      if self.key?(:developerId) == false
        raise MissingResourceAttribute.new(:developerId)
      end
      api_sig = "post/developers/.../merchants/registration"
      api_version = PBShipping::get_api_version(api_sig)
      api_path = "/developers/" + self[:developerId]
      api_path += "/merchants/registration"
      Merchant.new(PBShipping::api_request(
        auth_obj, :post, api_version, api_path, {}, {}, address))
    end
def registerMerchantBulkAccount ( auth_obj , address ) if self . key? ( :developerId ) == false raise MissingResourceAttribute . new ( :developerId ) end api_sig = "post/developers/.../merchants/registration" api_version = PBShipping :: get_api_version ( api_sig ) api_path = "/developers/" + self [ :developerId ] api_path += "/merchants/registration" Merchant . new ( PBShipping :: api_request ( auth_obj , :post , api_version , api_path , { } , { } , address ) ) end
MANAGING MERCHANTS
API: POST /developers/{developerId}/merchants/registration
API signature: post/developers/.../merchants/registration
MANAGING MERCHANTS API : POST / developers / { developerId } / merchants / registration API signature : post / developers / ... / merchants / registration
auth_obj
<not_specific>
address
<not_specific>