paypal-sdk-invoice 1.96.2 → 1.100.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MTQ3N2NiYTNkZmVkMWE3MWMxNDE1MmU0MjQxNDkxZDQxMTFjYjE2YQ==
4
+ YTM3OTE1ZWI5ODk3NTgyZmIyNzk3ODg4OTEwNDE4MmU2MDUxMDEzNw==
5
5
  data.tar.gz: !binary |-
6
- YWNjNjUxZWY5Nzg5MjBlMTYxOTM5MWU3ZjA4N2M4NmZjN2JmODZjZQ==
6
+ ZjhiODYzNjc0OTMzZDVlZWE1NThiMmE1N2JlN2ZjNWMwYzAyNWFlYg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MjFiYzQ3NjdhMGJhOTIyZjY0OTQzMDNjMDc4MDdmMmNjNzVmZmM0NTA3NzU4
10
- NzQzM2FmZjczNzg3MzUzMzdjZTkxYWVjNDM4ZDNhNzVlNGI5YjExNWIyOWM2
11
- MjZkZjUzZThmZDAzZjY3ZjBhMjNhYjY0N2ZjOTNlY2M5MWQ4ZGQ=
9
+ YTBmMjcyOTQ1OWQzMjAyNmE2NWEyNjYwZmVlOGNjOTE4NmRlYTg2OTU0Mzdj
10
+ ZGY1MjZmMGNmYzQwMTAzNDQ4MjUwYjUxOTZhMmUxN2U2MDM0YWJmOTM2YTg4
11
+ YmRhMDE0Y2QwNjkyNDg4NjgyNmIyMmU3MjFhMmI3OWE2YmVmNGY=
12
12
  data.tar.gz: !binary |-
13
- MmVlZDY4N2Q2ZTg2ODVhZWE0YTRkZTk0MTRlYzM1Yzc2NjhlMWQzNzgyMWEz
14
- YzI3YTE2NGFjYjM2MWM5MzA2ZjFkODE3OGMxZGU1ZjkyZTFkZTQ1Mjg5MjVm
15
- NTkyZGYxZjE3NGY0OTA5MmI1YWVlZjc5ZjRkNjJjZGMxNTY3YjQ=
13
+ YTVmMzk2MzA0MDg1MjI1MDNkZThiMGE5ZWY1ZmQzNzJiNzFmNzZlYTAxNTE2
14
+ ODkzODMzNTdjNjhkNmQ3ZjQ5MGMwMDc1NTc1N2Y0ZDU1OGZkMThhYTAwMGNh
15
+ YTY5MzcxNTVlNmFlN2U5OTU4OTM5NDZjMGIzZDIwYjU3MTk3OTk=
@@ -72,7 +72,7 @@ module PayPal::SDK
72
72
  # This specifies the required detail level that is needed by a client application pertaining to a particular data component (e.g., Item, Transaction, etc.). The detail level is specified in the DetailLevelCodeType which has all the enumerated values of the detail level for each component.
73
73
  object_of :detailLevel, DetailLevelCode
74
74
  # This should be the standard RFC 3066 language identification tag, e.g., en_US.
75
- object_of :errorLanguage, String, :required => true
75
+ object_of :errorLanguage, String
76
76
  end
77
77
  end
78
78
 
@@ -238,6 +238,8 @@ module PayPal::SDK
238
238
  object_of :note, String
239
239
  # Memo for book keeping that is private to the Merchant.
240
240
  object_of :merchantMemo, String
241
+ # Details of the receipt. Applicable only when invoice is a receipt.
242
+ object_of :receiptDetails, String
241
243
  # Billing information for the payer.
242
244
  object_of :billingInfo, BusinessInfoType
243
245
  # Shipping information for the payer.
@@ -772,6 +774,27 @@ module PayPal::SDK
772
774
 
773
775
 
774
776
 
777
+ # The request object for DeleteInvoice.
778
+ class DeleteInvoiceRequest < DataType
779
+ def self.load_members
780
+ object_of :requestEnvelope, RequestEnvelope, :required => true
781
+ # ID of the invoice to be deleted.
782
+ object_of :invoiceID, String, :required => true
783
+ end
784
+ end
785
+
786
+
787
+
788
+ # The response object for DeleteInvoice.
789
+ class DeleteInvoiceResponse < DataType
790
+ def self.load_members
791
+ object_of :responseEnvelope, ResponseEnvelope, :required => true
792
+ array_of :error, ErrorData
793
+ end
794
+ end
795
+
796
+
797
+
775
798
 
776
799
 
777
800
  constants.each do |data_type_klass|
@@ -5,7 +5,7 @@ module PayPal::SDK
5
5
  module Invoice
6
6
 
7
7
  # Service Version
8
- SERVICE_VERSION = "1.6.0"
8
+ SERVICE_VERSION = "1.8.0"
9
9
  # Service Name
10
10
  SERVICE_NAME = "Invoice"
11
11
 
@@ -203,6 +203,25 @@ module PayPal::SDK
203
203
  end
204
204
  alias_method :build_mark_invoice_as_refunded, :BuildMarkInvoiceAsRefunded
205
205
 
206
+ # Service Call: DeleteInvoice
207
+ # @param DeleteInvoiceRequest
208
+ # @return DeleteInvoiceResponse
209
+ def DeleteInvoice(options = {} , http_header = {})
210
+ request_object = BuildDeleteInvoice(options)
211
+ request_hash = request_object.to_hash
212
+ response_hash = request("DeleteInvoice", request_hash, http_header)
213
+ DeleteInvoiceResponse.new(response_hash)
214
+ end
215
+ alias_method :delete_invoice, :DeleteInvoice
216
+
217
+ def BuildDeleteInvoice(options = {}, &block)
218
+ klass = DeleteInvoiceRequest
219
+ object = options.is_a?(klass) ? options : klass.new(options || {})
220
+ object.instance_eval(&block) if block
221
+ object
222
+ end
223
+ alias_method :build_delete_invoice, :BuildDeleteInvoice
224
+
206
225
 
207
226
  end
208
227
 
@@ -1,7 +1,7 @@
1
1
  module PayPal
2
2
  module SDK
3
3
  module Invoice
4
- VERSION = "1.96.2"
4
+ VERSION = "1.100.0"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paypal-sdk-invoice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.96.2
4
+ version: 1.100.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - PayPal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-03-12 00:00:00.000000000 Z
11
+ date: 2013-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: paypal-sdk-core