lib/pbshipping/developer.rb
#
# MANAGING MERCHANTS
# API: GET /developers/{developerId}/merchants/emails/{emailId}/
# API signature: get/developers/.../merchants/emails/...
#
# Register your merchants or shippers, if you have signed up for the 
# individual account payment model.
#
# This method allows you to retrieve the merchant ID and related
# information based on the Email ID they used while registering, 
# so that you can request transactions on their behalf.  
#  


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

This method allows you to retrieve the merchant ID and related
information based on the Email ID they used while registering,
so that you can request transactions on their behalf.
Register your merchants or shippers if you have signed up for the individual account payment model . This method allows you to retrieve the merchant ID and related information based on the Email ID they used while registering so that you can request transactions on their behalf .
def registerMerchantIndividualAccount(auth_obj, emailid)
      if self.key?(:developerId) == false
        raise MissingResourceAttribute.new(:developerId)
      end
      api_sig = "get/developers/.../merchants/emails/..."
      api_version = PBShipping::get_api_version(api_sig)
      api_path = "/developers/" + self[:developerId]
      api_path += "/merchants/emails/" + emailid + "/"
      Merchant.new(PBShipping::api_request(
        auth_obj, :get, api_version, api_path, {}, {}, {}))
    end
def registerMerchantIndividualAccount ( auth_obj , emailid ) if self . key? ( :developerId ) == false raise MissingResourceAttribute . new ( :developerId ) end api_sig = "get/developers/.../merchants/emails/..." api_version = PBShipping :: get_api_version ( api_sig ) api_path = "/developers/" + self [ :developerId ] api_path += "/merchants/emails/" + emailid + "/" Merchant . new ( PBShipping :: api_request ( auth_obj , :get , api_version , api_path , { } , { } , { } ) ) end
MANAGING MERCHANTS
API: GET /developers/{developerId}/merchants/emails/{emailId}
API signature: get/developers/.../merchants/emails/...
MANAGING MERCHANTS API : GET / developers / { developerId } / merchants / emails / { emailId } API signature : get / developers / ... / merchants / emails / ...
auth_obj
<not_specific>
emailid
<not_specific>