File tree Expand file tree Collapse file tree 4 files changed +60
-0
lines changed Expand file tree Collapse file tree 4 files changed +60
-0
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,21 @@ A typical `BaseField` object will have the following attributes:
80
80
Aside from the previous attributes, all basic fields have access to a custom ` __str__ ` method that can be used to print their value as a string.
81
81
82
82
83
+ ### AddressField
84
+ Aside from the basic ` BaseField ` attributes, the address field ` AddressField ` also implements the following:
85
+
86
+ * ** street_number** (` str ` ): String representation of the string number. Can be ` None ` .
87
+ * ** street_name** (` str ` ): Name of the street. Can be ` None ` .
88
+ * ** po_box** (` str ` ): String representation of the PO Box number. Can be ` None ` .
89
+ * ** address_complement** (` str ` ): Address complement. Can be ` None ` .
90
+ * ** city** (` str ` ): City name. Can be ` None ` .
91
+ * ** postal_code** (` str ` ): String representation of the postal code. Can be ` None ` .
92
+ * ** state** (` str ` ): State name. Can be ` None ` .
93
+ * ** country** (` str ` ): Country name. Can be ` None ` .
94
+
95
+ Note: The ` value ` field of an AddressField should be a concatenation of the rest of the values.
96
+
97
+
83
98
### AmountField
84
99
The amount field ` AmountField ` only has one constraint: its ** value** is an ` Optional[float] ` .
85
100
Original file line number Diff line number Diff line change @@ -165,6 +165,21 @@ A typical `BaseField` object will have the following attributes:
165
165
Aside from the previous attributes, all basic fields have access to a custom ` __str__ ` method that can be used to print their value as a string.
166
166
167
167
168
+ ### AddressField
169
+ Aside from the basic ` BaseField ` attributes, the address field ` AddressField ` also implements the following:
170
+
171
+ * ** street_number** (` str ` ): String representation of the string number. Can be ` None ` .
172
+ * ** street_name** (` str ` ): Name of the street. Can be ` None ` .
173
+ * ** po_box** (` str ` ): String representation of the PO Box number. Can be ` None ` .
174
+ * ** address_complement** (` str ` ): Address complement. Can be ` None ` .
175
+ * ** city** (` str ` ): City name. Can be ` None ` .
176
+ * ** postal_code** (` str ` ): String representation of the postal code. Can be ` None ` .
177
+ * ** state** (` str ` ): State name. Can be ` None ` .
178
+ * ** country** (` str ` ): Country name. Can be ` None ` .
179
+
180
+ Note: The ` value ` field of an AddressField should be a concatenation of the rest of the values.
181
+
182
+
168
183
### AmountField
169
184
The amount field ` AmountField ` only has one constraint: its ** value** is an ` Optional[float] ` .
170
185
Original file line number Diff line number Diff line change @@ -203,6 +203,21 @@ A typical `BaseField` object will have the following attributes:
203
203
Aside from the previous attributes, all basic fields have access to a custom ` __str__ ` method that can be used to print their value as a string.
204
204
205
205
206
+ ### AddressField
207
+ Aside from the basic ` BaseField ` attributes, the address field ` AddressField ` also implements the following:
208
+
209
+ * ** street_number** (` str ` ): String representation of the string number. Can be ` None ` .
210
+ * ** street_name** (` str ` ): Name of the street. Can be ` None ` .
211
+ * ** po_box** (` str ` ): String representation of the PO Box number. Can be ` None ` .
212
+ * ** address_complement** (` str ` ): Address complement. Can be ` None ` .
213
+ * ** city** (` str ` ): City name. Can be ` None ` .
214
+ * ** postal_code** (` str ` ): String representation of the postal code. Can be ` None ` .
215
+ * ** state** (` str ` ): State name. Can be ` None ` .
216
+ * ** country** (` str ` ): Country name. Can be ` None ` .
217
+
218
+ Note: The ` value ` field of an AddressField should be a concatenation of the rest of the values.
219
+
220
+
206
221
### AmountField
207
222
The amount field ` AmountField ` only has one constraint: its ** value** is an ` Optional[float] ` .
208
223
Original file line number Diff line number Diff line change @@ -195,6 +195,21 @@ A typical `BaseField` object will have the following attributes:
195
195
Aside from the previous attributes, all basic fields have access to a custom ` __str__ ` method that can be used to print their value as a string.
196
196
197
197
198
+ ### AddressField
199
+ Aside from the basic ` BaseField ` attributes, the address field ` AddressField ` also implements the following:
200
+
201
+ * ** street_number** (` str ` ): String representation of the string number. Can be ` None ` .
202
+ * ** street_name** (` str ` ): Name of the street. Can be ` None ` .
203
+ * ** po_box** (` str ` ): String representation of the PO Box number. Can be ` None ` .
204
+ * ** address_complement** (` str ` ): Address complement. Can be ` None ` .
205
+ * ** city** (` str ` ): City name. Can be ` None ` .
206
+ * ** postal_code** (` str ` ): String representation of the postal code. Can be ` None ` .
207
+ * ** state** (` str ` ): State name. Can be ` None ` .
208
+ * ** country** (` str ` ): Country name. Can be ` None ` .
209
+
210
+ Note: The ` value ` field of an AddressField should be a concatenation of the rest of the values.
211
+
212
+
198
213
### AmountField
199
214
The amount field ` AmountField ` only has one constraint: its ** value** is an ` Optional[float] ` .
200
215
You can’t perform that action at this time.
0 commit comments