File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ impl OfferBuilder {
101
101
self
102
102
}
103
103
104
- /// Sets the metadata for the offer.
104
+ /// Sets the metadata for the offer. Useful for authentication and validating fields.
105
105
///
106
106
/// Successive calls to this method will override the previous setting.
107
107
pub fn metadata ( mut self , metadata : Vec < u8 > ) -> Self {
@@ -133,7 +133,7 @@ impl OfferBuilder {
133
133
self
134
134
}
135
135
136
- /// Sets the issuer for the offer as seconds since the Unix epoch .
136
+ /// Sets the issuer for the offer.
137
137
///
138
138
/// Successive calls to this method will override the previous setting.
139
139
pub fn issuer ( mut self , issuer : String ) -> Self {
@@ -149,7 +149,7 @@ impl OfferBuilder {
149
149
self
150
150
}
151
151
152
- /// Sets a fixed quantity of items for the offer.
152
+ /// Sets a fixed quantity of items for the offer. If not set, `1` is assumed.
153
153
///
154
154
/// Successive calls to this method or [`quantity_range`] will override the previous setting.
155
155
///
@@ -161,7 +161,7 @@ impl OfferBuilder {
161
161
self
162
162
}
163
163
164
- /// Sets a quantity range of items for the offer.
164
+ /// Sets a quantity range of items for the offer. If not set, `1` is assumed.
165
165
///
166
166
/// Successive calls to this method or [`quantity_fixed`] will override the previous setting.
167
167
///
You can’t perform that action at this time.
0 commit comments