youcanbookme 0.0.1.alpha

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +7 -0
  2. data/.github/workflows/gem-push.yml +37 -0
  3. data/.github/workflows/test.yml +21 -0
  4. data/.gitignore +10 -0
  5. data/.rubocom.yml +69 -0
  6. data/CHANGELOG.md +7 -0
  7. data/CODE_OF_CONDUCT.md +74 -0
  8. data/Gemfile +6 -0
  9. data/LICENSE.txt +21 -0
  10. data/README.md +119 -0
  11. data/Rakefile +12 -0
  12. data/bin/console +7 -0
  13. data/bin/setup +6 -0
  14. data/lib/youcanbookme.rb +22 -0
  15. data/lib/youcanbookme/client.rb +85 -0
  16. data/lib/youcanbookme/common_module.rb +32 -0
  17. data/lib/youcanbookme/configuration.rb +20 -0
  18. data/lib/youcanbookme/error.rb +15 -0
  19. data/lib/youcanbookme/http_command.rb +94 -0
  20. data/lib/youcanbookme/models/account.rb +125 -0
  21. data/lib/youcanbookme/models/action.rb +91 -0
  22. data/lib/youcanbookme/models/answer.rb +19 -0
  23. data/lib/youcanbookme/models/appointment_type.rb +7 -0
  24. data/lib/youcanbookme/models/booking.rb +167 -0
  25. data/lib/youcanbookme/models/booking_lobby.rb +13 -0
  26. data/lib/youcanbookme/models/calendar.rb +67 -0
  27. data/lib/youcanbookme/models/caligraph_calendar.rb +29 -0
  28. data/lib/youcanbookme/models/caligraph_event.rb +8 -0
  29. data/lib/youcanbookme/models/caligraph_link.rb +17 -0
  30. data/lib/youcanbookme/models/caligraph_local_account.rb +47 -0
  31. data/lib/youcanbookme/models/caligraph_permission.rb +32 -0
  32. data/lib/youcanbookme/models/caligraph_remote_account.rb +23 -0
  33. data/lib/youcanbookme/models/caligraph_safe_local_account.rb +13 -0
  34. data/lib/youcanbookme/models/card.rb +25 -0
  35. data/lib/youcanbookme/models/event.rb +98 -0
  36. data/lib/youcanbookme/models/instant.rb +9 -0
  37. data/lib/youcanbookme/models/link.rb +17 -0
  38. data/lib/youcanbookme/models/local_account.rb +180 -0
  39. data/lib/youcanbookme/models/model_utils.rb +88 -0
  40. data/lib/youcanbookme/models/name_and_address.rb +25 -0
  41. data/lib/youcanbookme/models/participant.rb +25 -0
  42. data/lib/youcanbookme/models/permission.rb +39 -0
  43. data/lib/youcanbookme/models/profile.rb +114 -0
  44. data/lib/youcanbookme/models/profile_afterwards.rb +34 -0
  45. data/lib/youcanbookme/models/profile_appointment_type.rb +23 -0
  46. data/lib/youcanbookme/models/profile_appointment_types.rb +27 -0
  47. data/lib/youcanbookme/models/profile_calendar.rb +21 -0
  48. data/lib/youcanbookme/models/profile_calendars.rb +19 -0
  49. data/lib/youcanbookme/models/profile_cancel_or_reschedule.rb +21 -0
  50. data/lib/youcanbookme/models/profile_display.rb +55 -0
  51. data/lib/youcanbookme/models/profile_local_account.rb +19 -0
  52. data/lib/youcanbookme/models/profile_payments.rb +23 -0
  53. data/lib/youcanbookme/models/profile_remote_account.rb +25 -0
  54. data/lib/youcanbookme/models/profile_remote_reminder.rb +15 -0
  55. data/lib/youcanbookme/models/profile_team_member.rb +33 -0
  56. data/lib/youcanbookme/models/profile_team_members.rb +29 -0
  57. data/lib/youcanbookme/models/profile_tentative.rb +16 -0
  58. data/lib/youcanbookme/models/profile_times.rb +79 -0
  59. data/lib/youcanbookme/models/profile_vouchers.rb +17 -0
  60. data/lib/youcanbookme/models/provider.rb +17 -0
  61. data/lib/youcanbookme/models/purchase.rb +126 -0
  62. data/lib/youcanbookme/models/purchases_sync_changes.rb +19 -0
  63. data/lib/youcanbookme/models/query.rb +8 -0
  64. data/lib/youcanbookme/models/question.rb +24 -0
  65. data/lib/youcanbookme/models/reminder.rb +21 -0
  66. data/lib/youcanbookme/models/remote_account.rb +63 -0
  67. data/lib/youcanbookme/models/team_member.rb +8 -0
  68. data/lib/youcanbookme/models/template_event.rb +17 -0
  69. data/lib/youcanbookme/models/transaction.rb +42 -0
  70. data/lib/youcanbookme/models/warning.rb +27 -0
  71. data/lib/youcanbookme/version.rb +5 -0
  72. data/youcanbookme.gemspec +41 -0
  73. metadata +244 -0
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ module YouCanBookMe
4
+ # YouCanBookMe's BookingLobby model.
5
+ class BookingLobby
6
+ include ModelUtils
7
+
8
+ # @return [String]
9
+ attr_accessor :outboundUrl
10
+ # @return [String]
11
+ attr_accessor :status
12
+ end
13
+ end
@@ -0,0 +1,67 @@
1
+ # frozen_string_literal: true
2
+
3
+ module YouCanBookMe
4
+ # YouCanBookMe's Calendar model.
5
+ class Calendar
6
+ include ModelUtils
7
+
8
+ ASSOCIATION = {
9
+ events: Event,
10
+ links: Link,
11
+ remoteAccount: RemoteAccount
12
+ }.freeze
13
+
14
+ # @return [String]
15
+ attr_accessor :backgroundColor
16
+ # @return [Boolean]
17
+ attr_accessor :changesRarely
18
+ # @return [Boolean]
19
+ attr_accessor :deleted
20
+ # @return [String]
21
+ attr_accessor :description
22
+ # @return [Array<YouCanBookMe::Event>]
23
+ attr_accessor :events
24
+ # @return [Boolean]
25
+ attr_accessor :failed
26
+ # @return [String]
27
+ attr_accessor :failure
28
+ # @return [String]
29
+ attr_accessor :foregroundColor
30
+ # @return [Boolean]
31
+ attr_accessor :freeBusy
32
+ # @return [Boolean]
33
+ attr_accessor :freeBusyOnly
34
+ # @return [Boolean]
35
+ attr_accessor :hidden
36
+ # @return [String]
37
+ attr_accessor :id
38
+ # @return [Array<YouCanBookMe::Link>]
39
+ attr_accessor :links
40
+ # @return [Integer]
41
+ attr_accessor :permissionLevel
42
+ # @return [Boolean]
43
+ attr_accessor :primary
44
+ # @return [Boolean]
45
+ attr_accessor :readable
46
+ # @return [Boolean]
47
+ attr_accessor :readableOnly
48
+ # @return [YouCanBookMe::RemoteAccount]
49
+ attr_accessor :remoteAccount
50
+ # @return [String]
51
+ attr_accessor :revision
52
+ # @return [Boolean]
53
+ attr_accessor :shared
54
+ # @return [String]
55
+ attr_accessor :systemUniqueId
56
+ # @return [String]
57
+ attr_accessor :timeZone
58
+ # @return [String]
59
+ attr_accessor :title
60
+ # @return [String]
61
+ attr_accessor :userName
62
+ # @return [Boolean]
63
+ attr_accessor :writeable
64
+ # @return [Boolean]
65
+ attr_accessor :writeableOnly
66
+ end
67
+ end
@@ -0,0 +1,29 @@
1
+ # frozen_string_literal: true
2
+
3
+ module YouCanBookMe
4
+ # YouCanBookMe's CaligraphCalendar model.
5
+ class CaligraphCalendar
6
+ include ModelUtils
7
+
8
+ ASSOCIATION = { links: CaligraphLink }.freeze
9
+
10
+ # @return [Boolean]
11
+ attr_accessor :deleted
12
+ # @return [String]
13
+ attr_accessor :id
14
+ # @return [Array<YouCanBookMe::CaligraphLink>]
15
+ attr_accessor :links
16
+ # @return [Integer]
17
+ attr_accessor :permissionLevel
18
+ # @return [Boolean]
19
+ attr_accessor :primary
20
+ # @return [String]
21
+ attr_accessor :remoteAccountId
22
+ # @return [String]
23
+ attr_accessor :timeZone
24
+ # @return [String]
25
+ attr_accessor :title
26
+ # @return [String]
27
+ attr_accessor :userName
28
+ end
29
+ end
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ module YouCanBookMe
4
+ # YouCanBookMe's CaligraphEvent model.
5
+ class CaligraphEvent
6
+ include ModelUtils
7
+ end
8
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module YouCanBookMe
4
+ # YouCanBookMe's CaligraphLink model.
5
+ class CaligraphLink
6
+ include ModelUtils
7
+
8
+ # @return [String]
9
+ attr_accessor :href
10
+ # @return [String]
11
+ attr_accessor :id
12
+ # @return [String]
13
+ attr_accessor :rel
14
+ # @return [String]
15
+ attr_accessor :type
16
+ end
17
+ end
@@ -0,0 +1,47 @@
1
+ # frozen_string_literal: true
2
+
3
+ module YouCanBookMe
4
+ # YouCanBookMe's CaligraphLocalAccount model.
5
+ class CaligraphLocalAccount
6
+ include ModelUtils
7
+
8
+ ASSOCIATION = {
9
+ permissionsIn: CaligraphPermission,
10
+ permissionsOut: CaligraphPermission,
11
+ remoteAccounts: CaligraphRemoteAccount
12
+ }.freeze
13
+
14
+ # @return [String]
15
+ attr_accessor :apiKey
16
+ # @return [String]
17
+ attr_accessor :email
18
+ # @return [String]
19
+ attr_accessor :id
20
+ # @return [Boolean]
21
+ attr_accessor :inDebugMode
22
+ # @return [String]
23
+ attr_accessor :lifecycle
24
+ # @return [String]
25
+ attr_accessor :parentId
26
+ # @return [Array<YouCanBookMe::CaligraphPermission>]
27
+ attr_accessor :permissionsIn
28
+ # @return [Array<YouCanBookMe::CaligraphPermission>]
29
+ attr_accessor :permissionsOut
30
+ # @return [String]
31
+ attr_accessor :plan
32
+ # @return [Integer]
33
+ attr_accessor :planMonths
34
+ # @return [Integer]
35
+ attr_accessor :quantityAllocated
36
+ # @return [Integer]
37
+ attr_accessor :quantityForFree
38
+ # @return [Integer]
39
+ attr_accessor :quantityFreeTrial
40
+ # @return [Integer]
41
+ attr_accessor :quantityPaidFor
42
+ # @return [Array<YouCanBookMe::CaligraphRemoteAccount>]
43
+ attr_accessor :remoteAccounts
44
+ # @return [String]
45
+ attr_accessor :trialEndsAt
46
+ end
47
+ end
@@ -0,0 +1,32 @@
1
+ # frozen_string_literal: true
2
+
3
+ module YouCanBookMe
4
+ # YouCanBookMe's CaligraphPermission model.
5
+ class CaligraphPermission
6
+ include ModelUtils
7
+
8
+ ASSOCIATION = {
9
+ fromLocalAccount: CaligraphSafeLocalAccount,
10
+ toLocalAccount: CaligraphSafeLocalAccount
11
+ }.freeze
12
+
13
+ # @return [String]
14
+ attr_accessor :createdAt
15
+ # @return [String]
16
+ attr_accessor :expiresAt
17
+ # @return [YouCanBookMe::CaligraphSafeLocalAccount]
18
+ attr_accessor :fromLocalAccount
19
+ # @return [String]
20
+ attr_accessor :id
21
+ # @return [String]
22
+ attr_accessor :resource
23
+ # @return [String]
24
+ attr_accessor :status
25
+ # @return [YouCanBookMe::CaligraphSafeLocalAccount]
26
+ attr_accessor :toLocalAccount
27
+ # @return [String]
28
+ attr_accessor :type
29
+ # @return [String]
30
+ attr_accessor :updatedAt
31
+ end
32
+ end
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ module YouCanBookMe
4
+ # YouCanBookMe's CaligraphRemoteAccount model.
5
+ class CaligraphRemoteAccount
6
+ include ModelUtils
7
+
8
+ ASSOCIATION = {
9
+ calendars: CaligraphCalendar
10
+ }.freeze
11
+
12
+ # @return [Array<YouCanBookMe::CaligraphCalendar>]
13
+ attr_accessor :calendars
14
+ # @return [String]
15
+ attr_accessor :id
16
+ # @return [String]
17
+ attr_accessor :localAccountEmail
18
+ # @return [String]
19
+ attr_accessor :type
20
+ # @return [String]
21
+ attr_accessor :username
22
+ end
23
+ end
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ module YouCanBookMe
4
+ # YouCanBookMe's CaligraphSafeLocalAccount model.
5
+ class CaligraphSafeLocalAccount
6
+ include ModelUtils
7
+
8
+ # @return [String]
9
+ attr_accessor :email
10
+ # @return [String]
11
+ attr_accessor :id
12
+ end
13
+ end
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+
3
+ module YouCanBookMe
4
+ # YouCanBookMe's Card model.
5
+ class Card
6
+ include ModelUtils
7
+
8
+ # @return [String]
9
+ attr_accessor :brand
10
+ # @return [String]
11
+ attr_accessor :country
12
+ # @return [String]
13
+ attr_accessor :expDate
14
+ # @return [String]
15
+ attr_accessor :id
16
+ # @return [Boolean]
17
+ attr_accessor :isDefault
18
+ # @return [String]
19
+ attr_accessor :last4
20
+ # @return [String]
21
+ attr_accessor :name
22
+ # @return [String]
23
+ attr_accessor :token
24
+ end
25
+ end
@@ -0,0 +1,98 @@
1
+ # frozen_string_literal: true
2
+
3
+ module YouCanBookMe
4
+ # YouCanBookMe's Event model.
5
+ class Event
6
+ include ModelUtils
7
+
8
+ ASSOCIATION = {
9
+ calendar: Calendar,
10
+ links: Link,
11
+ participants: Participant,
12
+ reminders: Reminder
13
+ }.freeze
14
+
15
+ # @return [String]
16
+ attr_accessor :backgroundColor
17
+ # @return [YouCanBookMe::Calendar]
18
+ attr_accessor :calendar
19
+ # @return [Boolean]
20
+ attr_accessor :confidential
21
+ # @return [Boolean]
22
+ attr_accessor :confidentialOnly
23
+ # @return [String]
24
+ attr_accessor :createdAt
25
+ # @return [Boolean]
26
+ attr_accessor :dateOnly
27
+ # @return [Integer]
28
+ attr_accessor :defaultShareLevel
29
+ # @return [String]
30
+ attr_accessor :description
31
+ # @return [String]
32
+ attr_accessor :end
33
+ # @return [String]
34
+ attr_accessor :endDate
35
+ # @return [String]
36
+ attr_accessor :endDateTime
37
+ # @return [String]
38
+ attr_accessor :endInstant
39
+ # @return [String]
40
+ attr_accessor :endTimeZone
41
+ # @return [String]
42
+ attr_accessor :endZonedDateTime
43
+ # @return [Boolean]
44
+ attr_accessor :failed
45
+ # @return [String]
46
+ attr_accessor :failure
47
+ # @return [String]
48
+ attr_accessor :foregroundColor
49
+ # @return [Boolean]
50
+ attr_accessor :hasDescription
51
+ # @return [String]
52
+ attr_accessor :id
53
+ # @return [Array<YouCanBookMe::Link>]
54
+ attr_accessor :links
55
+ # @return [String]
56
+ attr_accessor :location
57
+ # @return [String]
58
+ attr_accessor :metadata
59
+ # @return [Array<YouCanBookMe::Participant>]
60
+ attr_accessor :participants
61
+ # @return [Boolean]
62
+ attr_accessor :private
63
+ # @return [Boolean]
64
+ attr_accessor :privateOnly
65
+ # @return [Boolean]
66
+ attr_accessor :public
67
+ # @return [Boolean]
68
+ attr_accessor :publicOnly
69
+ # @return [Array<String>]
70
+ attr_accessor :recurrences
71
+ # @return [Array<YouCanBookMe::Reminder>]
72
+ attr_accessor :reminders
73
+ # @return [Boolean]
74
+ attr_accessor :restricted
75
+ # @return [Boolean]
76
+ attr_accessor :restrictedOnly
77
+ # @return [String]
78
+ attr_accessor :revision
79
+ # @return [String]
80
+ attr_accessor :start
81
+ # @return [String]
82
+ attr_accessor :startDate
83
+ # @return [String]
84
+ attr_accessor :startDateTime
85
+ # @return [String]
86
+ attr_accessor :startInstant
87
+ # @return [String]
88
+ attr_accessor :startTimeZone
89
+ # @return [String]
90
+ attr_accessor :startZonedDateTime
91
+ # @return [String]
92
+ attr_accessor :status
93
+ # @return [String]
94
+ attr_accessor :title
95
+ # @return [Boolean]
96
+ attr_accessor :transparent
97
+ end
98
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module YouCanBookMe
4
+ # YouCanBookMe's Instant model.
5
+ class Instant
6
+ include ModelUtils
7
+
8
+ end
9
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ module YouCanBookMe
4
+ # YouCanBookMe's Link model.
5
+ class Link
6
+ include ModelUtils
7
+
8
+ # @return [String]
9
+ attr_accessor :href
10
+ # @return [String]
11
+ attr_accessor :id
12
+ # @return [String]
13
+ attr_accessor :rel
14
+ # @return [String]
15
+ attr_accessor :type
16
+ end
17
+ end
@@ -0,0 +1,180 @@
1
+ # frozen_string_literal: true
2
+
3
+ module YouCanBookMe
4
+ # YouCanBookMe's LocalAccount model.
5
+ class LocalAccount
6
+ include ModelUtils
7
+
8
+ ASSOCIATION = {
9
+ activePurchase: Purchase,
10
+ allocations: LocalAccount,
11
+ billingNameAndAddress: NameAndAddress,
12
+ cards: Card,
13
+ links: Link,
14
+ loggedIn: LocalAccount,
15
+ nextPurchase: Purchase,
16
+ permissionsIn: Permission,
17
+ permissionsInProcessGroups: Permission,
18
+ permissionsOut: Permission,
19
+ purchases: Purchase,
20
+ remoteAccounts: RemoteAccount,
21
+ syncToPurchasesChanges: PurchasesSyncChanges,
22
+ warnings: Warning
23
+ }.freeze
24
+
25
+ # @return [String]
26
+ attr_accessor :accountType
27
+ # @return [YouCanBookMe::Purchase]
28
+ attr_accessor :activePurchase
29
+ # @return [String]
30
+ attr_accessor :addressHibernate
31
+ # @return [Array<YouCanBookMe::LocalAccount>]
32
+ attr_accessor :allocations
33
+ # @return [String]
34
+ attr_accessor :apiKey
35
+ # @return [integer]
36
+ attr_accessor :balance
37
+ # @return [YouCanBookMe::NameAndAddress]
38
+ attr_accessor :billingNameAndAddress
39
+ # @return [Boolean]
40
+ attr_accessor :blocked
41
+ # @return [Array<YouCanBookMe::Card>]
42
+ attr_accessor :cards
43
+ # @return [String]
44
+ attr_accessor :cityHibernate
45
+ # @return [String]
46
+ attr_accessor :countryHibernate
47
+ # @return [String]
48
+ attr_accessor :covidStatus
49
+ # @return [String]
50
+ attr_accessor :createdAt
51
+ # @return [Integer]
52
+ attr_accessor :credit
53
+ # @return [Integer]
54
+ attr_accessor :creditEUR
55
+ # @return [Integer]
56
+ attr_accessor :creditGBP
57
+ # @return [Integer]
58
+ attr_accessor :creditUSD
59
+ # @return [String]
60
+ attr_accessor :currency
61
+ # @return [String]
62
+ attr_accessor :debugModeUntil
63
+ # @return [String]
64
+ attr_accessor :detectedTimeZone
65
+ # @return [String]
66
+ attr_accessor :email
67
+ # @return [String]
68
+ attr_accessor :familyNameHibernate
69
+ # @return [Boolean]
70
+ attr_accessor :ghost
71
+ # @return [String]
72
+ attr_accessor :givenNameHibernate
73
+ # @return [String]
74
+ attr_accessor :id
75
+ # @return [Boolean]
76
+ attr_accessor :inDebugMode
77
+ # @return [String]
78
+ attr_accessor :killBillId
79
+ # @return [String]
80
+ attr_accessor :lastWarningPushAt
81
+ # @return [Integer]
82
+ attr_accessor :lastWarningPushLevel
83
+ # @return [String]
84
+ attr_accessor :lifecycle
85
+ # @return [Array<YouCanBookMe::Link>]
86
+ attr_accessor :links
87
+ # @return [YouCanBookMe::LocalAccount]
88
+ attr_accessor :loggedIn
89
+ # @return [Boolean]
90
+ attr_accessor :needsSyncToPurchases
91
+ # @return [Integer]
92
+ attr_accessor :negotiatedDiscountPermyriad
93
+ # @return [YouCanBookMe::Purchase]
94
+ attr_accessor :nextPurchase
95
+ # @return [String]
96
+ attr_accessor :oneTimeToken
97
+ # @return [String]
98
+ attr_accessor :oneTimeTokenExpiresAt
99
+ # @return [String]
100
+ attr_accessor :organizationNameHibernate
101
+ # @return [String]
102
+ attr_accessor :parentEmail
103
+ # @return [String]
104
+ attr_accessor :parentId
105
+ # @return [Integer]
106
+ attr_accessor :parentQuantityPaidFor
107
+ # @return [String]
108
+ attr_accessor :password
109
+ # @return [String]
110
+ attr_accessor :passwordHash
111
+ # @return [Boolean]
112
+ attr_accessor :pastDue
113
+ # @return [Integer]
114
+ attr_accessor :pausePlanMonths
115
+ # @return [Integer]
116
+ attr_accessor :pauseQuantity
117
+ # @return [Integer]
118
+ attr_accessor :pauseRemainingSeconds
119
+ # @return [Boolean]
120
+ attr_accessor :paused
121
+ # @return [Array<YouCanBookMe::Permission>]
122
+ attr_accessor :permissionsIn
123
+ # @return [Array<YouCanBookMe::Permission>]
124
+ attr_accessor :permissionsInProcessGroups
125
+ # @return [Array<YouCanBookMe::Permission>]
126
+ attr_accessor :permissionsOut
127
+ # @return [String]
128
+ attr_accessor :plan
129
+ # @return [String]
130
+ attr_accessor :planExpiresAt
131
+ # @return [Integer]
132
+ attr_accessor :planMonths
133
+ # @return [Integer]
134
+ attr_accessor :planMonthsWas
135
+ # @return [String]
136
+ attr_accessor :postalCodeHibernate
137
+ # @return [Array<YouCanBookMe::Purchase>]
138
+ attr_accessor :purchases
139
+ # @return [Integer]
140
+ attr_accessor :quantityAllocated
141
+ # @return [Integer]
142
+ attr_accessor :quantityForFree
143
+ # @return [Integer]
144
+ attr_accessor :quantityFreeTrial
145
+ # @return [Integer]
146
+ attr_accessor :quantityPaidFor
147
+ # @return [String]
148
+ attr_accessor :realtimeTopic
149
+ # @return [String]
150
+ attr_accessor :regionHibernate
151
+ # @return [Array<YouCanBookMe::RemoteAccount>]
152
+ attr_accessor :remoteAccounts
153
+ # @return [String]
154
+ attr_accessor :requestedAction
155
+ # @return [String]
156
+ attr_accessor :reviewAt
157
+ # @return [String]
158
+ attr_accessor :sessionToken
159
+ # @return [String]
160
+ attr_accessor :sessionTokenExpiresAt
161
+ # @return [String]
162
+ attr_accessor :source
163
+ # @return [String]
164
+ attr_accessor :stripeId
165
+ # @return [YouCanBookMe::PurchasesSyncChanges]
166
+ attr_accessor :syncToPurchasesChanges
167
+ # @return [String]
168
+ attr_accessor :taxNumber
169
+ # @return [String]
170
+ attr_accessor :trialEndsAt
171
+ # @return [String]
172
+ attr_accessor :type
173
+ # @return [String]
174
+ attr_accessor :updatedAt
175
+ # @return [Array<YouCanBookMe::Warning>]
176
+ attr_accessor :warnings
177
+ # @return [String]
178
+ attr_accessor :xeroId
179
+ end
180
+ end