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 +4 -4
- data/lib/afterpay/components/payment.rb +22 -0
- data/lib/afterpay/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1cd800dd1ba77222d13cda03c99774be278c356ce2897824b4a697402681730a
|
|
4
|
+
data.tar.gz: d0694bb5b3292455cec172ca51c9106c2e6c9e5d1c6f15f587e86b8f8ea81eda
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
data/lib/afterpay/version.rb
CHANGED
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
|
+
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-
|
|
14
|
+
date: 2021-11-02 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: faraday
|