afterpay 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6c829dfe7fe6c2d66b576afc39133de1e5aff0827927776f34250559d6f5c81d
4
- data.tar.gz: eb89d0cda49ff77dce1b0832437109fac6455c0536ee6b6efdc6a47f11e1209a
3
+ metadata.gz: 1cd800dd1ba77222d13cda03c99774be278c356ce2897824b4a697402681730a
4
+ data.tar.gz: d0694bb5b3292455cec172ca51c9106c2e6c9e5d1c6f15f587e86b8f8ea81eda
5
5
  SHA512:
6
- metadata.gz: fa3d155dcd5b4003a0cb964629b32ac3022227e70b654d3dad4b7c2b04f6f22f43812bb6822e3940da04c9844e3bd89c8a6d790ccb027783dedf81be76879aca
7
- data.tar.gz: ada7635705fa5cf6fbc275566a573e417ecf8506db74547280ca44c61b2d3970428614bacc34d04664579a4afe4c5de67268c4287c1ffcfde11b677f2c427215
6
+ metadata.gz: 461b9bcb102ca910a48fac2064b29f359952fa4a083b8b72259664f60e3c7300df55e1f4f9f5eb777f466df79de1e8c98e384d09dc7ebefdcfad31c464213cda
7
+ data.tar.gz: 9589bdd16eb98b818754e91db5cbaa44800815b198cd5993ffcfa4305e1e6cd011e4d23b99f7df4d252f6775f660af053bd340ad4c58d3fbbc478f639b144d53
@@ -17,6 +17,28 @@ module Afterpay
17
17
  # @return [Afterpay::Components::Money]
18
18
  # The refund amount.
19
19
  attr_accessor :amount
20
+
21
+ # @attribute is_checkout_adjusted
22
+ # @return [Boolean]
23
+ # Whether there have been changes to the order since the initial order creation.
24
+ attr_accessor :is_checkout_adjusted
25
+
26
+ # @attribute payment_schedule_checksum
27
+ # @return [String]
28
+ # A unique value representing the payment schedule that must be provided
29
+ # when there has been changes since the initial order creation.
30
+ attr_accessor :payment_schedule_checksum
31
+
32
+ # @attribute items
33
+ # @return [Array<Afterpay::Components::Item>]
34
+ # An array of order items that have been updated to be provided
35
+ # if it has changed since the initial order creation.
36
+ attr_accessor :items
37
+
38
+ # @attribute shipping
39
+ # @return [Afterpay::Components::Contact]
40
+ # The shipping address for this order to be provided if it has changed since the initial order creation.
41
+ attr_accessor :shipping
20
42
  end
21
43
  end
22
44
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Afterpay
4
- VERSION = '0.4.0'
4
+ VERSION = '0.5.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: afterpay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergey Vygovsky
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: exe
13
13
  cert_chain: []
14
- date: 2021-10-13 00:00:00.000000000 Z
14
+ date: 2021-11-02 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: faraday