Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update version

  • Loading branch information...
commit 6c6e539180849e2be688afeb51d922c41c8fb890 1 parent 79beb36
@siddick siddick authored
View
5 ChangeLog.txt
@@ -0,0 +1,5 @@
+Version 1.96.0 - December 10, 2012
+
+ - Initial release of ruby sdk for version 96
+
+--------------------------------------------------------------------------------------------------
View
2  README.md
@@ -1,4 +1,4 @@
-# Merchant[ Work in progress !! ]
+# Merchant
SDK for Merchant.
View
36 lib/paypal-sdk/merchant/data_types.rb
@@ -833,17 +833,17 @@ def self.load_members
# Sets the Custom Payment Page Style for payment pages associated with this button/link. PageStyle corresponds to the HTML variable page_style for customizing payment pages. The value is the same as the Page Style Name you chose when adding or editing the page style from the Profile subtab of the My Account tab of your PayPal account. Optional Character length and limitations: 30 single-byte alphabetic characters.
object_of :PageStyle, String, :namespace => :ebl
# A URL for the image you want to appear at the top left of the payment page. The image has a maximum size of 750 pixels wide by 90 pixels high. PayPal recommends that you provide an image that is stored on a secure (https) server. Optional Character length and limitations: 127
- object_of :cppheaderimage, String, :namespace => :ebl
+ object_of :cppheaderimage, String, :name => "cpp-header-image", :namespace => :ebl
# Sets the border color around the header of the payment page. The border is a 2-pixel perimeter around the header space, which is 750 pixels wide by 90 pixels high. Optional Character length and limitations: Six character HTML hexadecimal color code in ASCII
- object_of :cppheaderbordercolor, String, :namespace => :ebl
+ object_of :cppheaderbordercolor, String, :name => "cpp-header-border-color", :namespace => :ebl
# Sets the background color for the header of the payment page. Optional Character length and limitation: Six character HTML hexadecimal color code in ASCII
- object_of :cppheaderbackcolor, String, :namespace => :ebl
+ object_of :cppheaderbackcolor, String, :name => "cpp-header-back-color", :namespace => :ebl
# Sets the background color for the payment page. Optional Character length and limitation: Six character HTML hexadecimal color code in ASCII
- object_of :cpppayflowcolor, String, :namespace => :ebl
+ object_of :cpppayflowcolor, String, :name => "cpp-payflow-color", :namespace => :ebl
# Sets the cart gradient color for the Mini Cart on 1X flow. Optional Character length and limitation: Six character HTML hexadecimal color code in ASCII
- object_of :cppcartbordercolor, String, :namespace => :ebl
+ object_of :cppcartbordercolor, String, :name => "cpp-cart-border-color", :namespace => :ebl
# A URL for the image you want to appear above the mini-cart. The image has a maximum size of 190 pixels wide by 60 pixels high. PayPal recommends that you provide an image that is stored on a secure (https) server. Optional Character length and limitations: 127
- object_of :cpplogoimage, String, :namespace => :ebl
+ object_of :cpplogoimage, String, :name => "cpp-logo-image", :namespace => :ebl
# Customer's shipping address. Optional If you include a shipping address and set the AddressOverride element on the request, PayPal returns this same address in GetExpressCheckoutDetailsResponse.
object_of :Address, AddressType, :namespace => :ebl
# How you want to obtain payment. Required Authorization indicates that this payment is a basic authorization subject to settlement with PayPal Authorization and Capture. Order indicates that this payment is is an order authorization subject to settlement with PayPal Authorization and Capture. Sale indicates that this is a final sale for which you are requesting payment. IMPORTANT: You cannot set PaymentAction to Sale or Order on SetExpressCheckoutRequest and then change PaymentAction to Authorization on the final Express Checkout API, DoExpressCheckoutPaymentRequest. Character length and limit: Up to 13 single-byte alphabetic characters
@@ -1355,13 +1355,13 @@ def self.load_members
# Sets the Custom Payment Page Style for flow pages associated with this button/link. PageStyle corresponds to the HTML variable page_style for customizing flow pages. The value is the same as the Page Style Name you chose when adding or editing the page style from the Profile subtab of the My Account tab of your PayPal account. Optional Character length and limitations: 30 single-byte alphabetic characters.
object_of :PageStyle, String, :namespace => :ebl
# A URL for the image you want to appear at the top left of the flow page. The image has a maximum size of 750 pixels wide by 90 pixels high. PayPal recommends that you provide an image that is stored on a secure (https) server. Optional Character length and limitations: 127
- object_of :cppheaderimage, String, :namespace => :ebl
+ object_of :cppheaderimage, String, :name => "cpp-header-image", :namespace => :ebl
# Sets the border color around the header of the flow page. The border is a 2-pixel perimeter around the header space, which is 750 pixels wide by 90 pixels high. Optional Character length and limitations: Six character HTML hexadecimal color code in ASCII
- object_of :cppheaderbordercolor, String, :namespace => :ebl
+ object_of :cppheaderbordercolor, String, :name => "cpp-header-border-color", :namespace => :ebl
# Sets the background color for the header of the flow page. Optional Character length and limitation: Six character HTML hexadecimal color code in ASCII
- object_of :cppheaderbackcolor, String, :namespace => :ebl
+ object_of :cppheaderbackcolor, String, :name => "cpp-header-back-color", :namespace => :ebl
# Sets the background color for the payment page. Optional Character length and limitation: Six character HTML hexadecimal color code in ASCII
- object_of :cpppayflowcolor, String, :namespace => :ebl
+ object_of :cpppayflowcolor, String, :name => "cpp-payflow-color", :namespace => :ebl
# First Name of the user, this information is used if user chooses to signup with PayPal. Optional Character length and limitation: Six character HTML hexadecimal color code in ASCII
object_of :FirstName, String, :namespace => :ebl
# Last Name of the user, this information is used if user chooses to signup with PayPal. Optional Character length and limitation: Six character HTML hexadecimal color code in ASCII
@@ -1411,13 +1411,13 @@ def self.load_members
# Sets the Custom Payment Page Style for flow pages associated with this button/link. PageStyle corresponds to the HTML variable page_style for customizing flow pages. The value is the same as the Page Style Name you chose when adding or editing the page style from the Profile subtab of the My Account tab of your PayPal account. Optional Character length and limitations: 30 single-byte alphabetic characters.
object_of :PageStyle, String, :namespace => :ebl
# A URL for the image you want to appear at the top left of the flow page. The image has a maximum size of 750 pixels wide by 90 pixels high. PayPal recommends that you provide an image that is stored on a secure (https) server. Optional Character length and limitations: 127
- object_of :cppheaderimage, String, :namespace => :ebl
+ object_of :cppheaderimage, String, :name => "cpp-header-image", :namespace => :ebl
# Sets the border color around the header of the flow page. The border is a 2-pixel perimeter around the header space, which is 750 pixels wide by 90 pixels high. Optional Character length and limitations: Six character HTML hexadecimal color code in ASCII
- object_of :cppheaderbordercolor, String, :namespace => :ebl
+ object_of :cppheaderbordercolor, String, :name => "cpp-header-border-color", :namespace => :ebl
# Sets the background color for the header of the flow page. Optional Character length and limitation: Six character HTML hexadecimal color code in ASCII
- object_of :cppheaderbackcolor, String, :namespace => :ebl
+ object_of :cppheaderbackcolor, String, :name => "cpp-header-back-color", :namespace => :ebl
# Sets the background color for the payment page. Optional Character length and limitation: Six character HTML hexadecimal color code in ASCII
- object_of :cpppayflowcolor, String, :namespace => :ebl
+ object_of :cpppayflowcolor, String, :name => "cpp-payflow-color", :namespace => :ebl
# First Name of the user, this information is used if user chooses to signup with PayPal. Optional Character length and limitation: Six character HTML hexadecimal color code in ASCII
object_of :FirstName, String, :namespace => :ebl
# Last Name of the user, this information is used if user chooses to signup with PayPal. Optional Character length and limitation: Six character HTML hexadecimal color code in ASCII
@@ -2233,10 +2233,10 @@ def self.load_members
object_of :CancelURL, String, :namespace => :ebl, :required => true
object_of :LocaleCode, String, :namespace => :ebl
object_of :PageStyle, String, :namespace => :ebl
- object_of :cppheaderimage, String, :namespace => :ebl
- object_of :cppheaderbordercolor, String, :namespace => :ebl
- object_of :cppheaderbackcolor, String, :namespace => :ebl
- object_of :cpppayflowcolor, String, :namespace => :ebl
+ object_of :cppheaderimage, String, :name => "cpp-header-image", :namespace => :ebl
+ object_of :cppheaderbordercolor, String, :name => "cpp-header-border-color", :namespace => :ebl
+ object_of :cppheaderbackcolor, String, :name => "cpp-header-back-color", :namespace => :ebl
+ object_of :cpppayflowcolor, String, :name => "cpp-payflow-color", :namespace => :ebl
object_of :BuyerEmail, String, :namespace => :ebl
# The value 1 indicates that you require that the customer's billing address on file. Setting this element overrides the setting you have specified in Admin. Optional Character length and limitations: One single-byte numeric character.
object_of :ReqBillingAddress, String, :namespace => :ebl
View
147 lib/paypal-sdk/merchant/services.rb
@@ -119,153 +119,6 @@ def BuildGetTransactionDetails(options = {}, &block)
end
alias_method :build_get_transaction_details, :BuildGetTransactionDetails
- # Service Call: BMCreateButton
- # @param BMCreateButtonReq
- # @return BMCreateButtonResponseType
- def BMCreateButton(options = {} , http_header = {})
- request_object = BuildBMCreateButton(options)
- request_hash = request_object.to_hash
- response_hash = request("BMCreateButton", request_hash, http_header)
- BMCreateButtonResponseType.new(response_hash)
- end
- alias_method :bm_create_button, :BMCreateButton
-
- def BuildBMCreateButton(options = {}, &block)
- klass = BMCreateButtonReq
- options = klass.new(:BMCreateButtonRequest => options) unless options.is_a?(klass)
- object = (options.BMCreateButtonRequest ||= {})
- object.version = SERVICE_VERSION
- object.instance_eval(&block) if block
- object
- end
- alias_method :build_bm_create_button, :BuildBMCreateButton
-
- # Service Call: BMUpdateButton
- # @param BMUpdateButtonReq
- # @return BMUpdateButtonResponseType
- def BMUpdateButton(options = {} , http_header = {})
- request_object = BuildBMUpdateButton(options)
- request_hash = request_object.to_hash
- response_hash = request("BMUpdateButton", request_hash, http_header)
- BMUpdateButtonResponseType.new(response_hash)
- end
- alias_method :bm_update_button, :BMUpdateButton
-
- def BuildBMUpdateButton(options = {}, &block)
- klass = BMUpdateButtonReq
- options = klass.new(:BMUpdateButtonRequest => options) unless options.is_a?(klass)
- object = (options.BMUpdateButtonRequest ||= {})
- object.version = SERVICE_VERSION
- object.instance_eval(&block) if block
- object
- end
- alias_method :build_bm_update_button, :BuildBMUpdateButton
-
- # Service Call: BMManageButtonStatus
- # @param BMManageButtonStatusReq
- # @return BMManageButtonStatusResponseType
- def BMManageButtonStatus(options = {} , http_header = {})
- request_object = BuildBMManageButtonStatus(options)
- request_hash = request_object.to_hash
- response_hash = request("BMManageButtonStatus", request_hash, http_header)
- BMManageButtonStatusResponseType.new(response_hash)
- end
- alias_method :bm_manage_button_status, :BMManageButtonStatus
-
- def BuildBMManageButtonStatus(options = {}, &block)
- klass = BMManageButtonStatusReq
- options = klass.new(:BMManageButtonStatusRequest => options) unless options.is_a?(klass)
- object = (options.BMManageButtonStatusRequest ||= {})
- object.version = SERVICE_VERSION
- object.instance_eval(&block) if block
- object
- end
- alias_method :build_bm_manage_button_status, :BuildBMManageButtonStatus
-
- # Service Call: BMGetButtonDetails
- # @param BMGetButtonDetailsReq
- # @return BMGetButtonDetailsResponseType
- def BMGetButtonDetails(options = {} , http_header = {})
- request_object = BuildBMGetButtonDetails(options)
- request_hash = request_object.to_hash
- response_hash = request("BMGetButtonDetails", request_hash, http_header)
- BMGetButtonDetailsResponseType.new(response_hash)
- end
- alias_method :bm_get_button_details, :BMGetButtonDetails
-
- def BuildBMGetButtonDetails(options = {}, &block)
- klass = BMGetButtonDetailsReq
- options = klass.new(:BMGetButtonDetailsRequest => options) unless options.is_a?(klass)
- object = (options.BMGetButtonDetailsRequest ||= {})
- object.version = SERVICE_VERSION
- object.instance_eval(&block) if block
- object
- end
- alias_method :build_bm_get_button_details, :BuildBMGetButtonDetails
-
- # Service Call: BMSetInventory
- # @param BMSetInventoryReq
- # @return BMSetInventoryResponseType
- def BMSetInventory(options = {} , http_header = {})
- request_object = BuildBMSetInventory(options)
- request_hash = request_object.to_hash
- response_hash = request("BMSetInventory", request_hash, http_header)
- BMSetInventoryResponseType.new(response_hash)
- end
- alias_method :bm_set_inventory, :BMSetInventory
-
- def BuildBMSetInventory(options = {}, &block)
- klass = BMSetInventoryReq
- options = klass.new(:BMSetInventoryRequest => options) unless options.is_a?(klass)
- object = (options.BMSetInventoryRequest ||= {})
- object.version = SERVICE_VERSION
- object.instance_eval(&block) if block
- object
- end
- alias_method :build_bm_set_inventory, :BuildBMSetInventory
-
- # Service Call: BMGetInventory
- # @param BMGetInventoryReq
- # @return BMGetInventoryResponseType
- def BMGetInventory(options = {} , http_header = {})
- request_object = BuildBMGetInventory(options)
- request_hash = request_object.to_hash
- response_hash = request("BMGetInventory", request_hash, http_header)
- BMGetInventoryResponseType.new(response_hash)
- end
- alias_method :bm_get_inventory, :BMGetInventory
-
- def BuildBMGetInventory(options = {}, &block)
- klass = BMGetInventoryReq
- options = klass.new(:BMGetInventoryRequest => options) unless options.is_a?(klass)
- object = (options.BMGetInventoryRequest ||= {})
- object.version = SERVICE_VERSION
- object.instance_eval(&block) if block
- object
- end
- alias_method :build_bm_get_inventory, :BuildBMGetInventory
-
- # Service Call: BMButtonSearch
- # @param BMButtonSearchReq
- # @return BMButtonSearchResponseType
- def BMButtonSearch(options = {} , http_header = {})
- request_object = BuildBMButtonSearch(options)
- request_hash = request_object.to_hash
- response_hash = request("BMButtonSearch", request_hash, http_header)
- BMButtonSearchResponseType.new(response_hash)
- end
- alias_method :bm_button_search, :BMButtonSearch
-
- def BuildBMButtonSearch(options = {}, &block)
- klass = BMButtonSearchReq
- options = klass.new(:BMButtonSearchRequest => options) unless options.is_a?(klass)
- object = (options.BMButtonSearchRequest ||= {})
- object.version = SERVICE_VERSION
- object.instance_eval(&block) if block
- object
- end
- alias_method :build_bm_button_search, :BuildBMButtonSearch
-
# Service Call: BillUser
# @param BillUserReq
# @return BillUserResponseType
View
2  lib/paypal-sdk/merchant/version.rb
@@ -1,7 +1,7 @@
module PayPal
module SDK
module Merchant
- VERSION = "0.0.1"
+ VERSION = "1.96.0"
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.