Package com.stripe.param
Class SourceUpdateParams.Mandate.Acceptance.Builder
java.lang.Object
com.stripe.param.SourceUpdateParams.Mandate.Acceptance.Builder
- Enclosing class:
- SourceUpdateParams.Mandate.Acceptance
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Finalize and obtain parameter instance from this builder.putAllExtraParam
(Map<String, Object> map) Add all map key/value pairs to `extraParams` map.putExtraParam
(String key, Object value) Add a key/value pair to `extraParams` map.The Unix timestamp (in seconds) when the mandate was accepted or refused by the customer.setIp
(EmptyParam ip) The IP address from which the mandate was accepted or refused by the customer.The IP address from which the mandate was accepted or refused by the customer.The parameters required to store a mandate accepted offline.The parameters required to store a mandate accepted online.Required. The status of the mandate acceptance.The type of acceptance information included with the mandate.setUserAgent
(EmptyParam userAgent) The user agent of the browser from which the mandate was accepted or refused by the customer.setUserAgent
(String userAgent) The user agent of the browser from which the mandate was accepted or refused by the customer.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
Finalize and obtain parameter instance from this builder. -
setDate
The Unix timestamp (in seconds) when the mandate was accepted or refused by the customer. -
putExtraParam
Add a key/value pair to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeSourceUpdateParams.Mandate.Acceptance.extraParams
for the field documentation. -
putAllExtraParam
Add all map key/value pairs to `extraParams` map. A map is initialized for the first `put/putAll` call, and subsequent calls add additional key/value pairs to the original map. SeeSourceUpdateParams.Mandate.Acceptance.extraParams
for the field documentation. -
setIp
The IP address from which the mandate was accepted or refused by the customer. -
setIp
The IP address from which the mandate was accepted or refused by the customer. -
setOffline
public SourceUpdateParams.Mandate.Acceptance.Builder setOffline(SourceUpdateParams.Mandate.Acceptance.Offline offline) The parameters required to store a mandate accepted offline. Should only be set ifmandate[type]
isoffline
-
setOnline
public SourceUpdateParams.Mandate.Acceptance.Builder setOnline(SourceUpdateParams.Mandate.Acceptance.Online online) The parameters required to store a mandate accepted online. Should only be set ifmandate[type]
isonline
-
setStatus
public SourceUpdateParams.Mandate.Acceptance.Builder setStatus(SourceUpdateParams.Mandate.Acceptance.Status status) Required. The status of the mandate acceptance. Eitheraccepted
(the mandate was accepted) orrefused
(the mandate was refused). -
setType
public SourceUpdateParams.Mandate.Acceptance.Builder setType(SourceUpdateParams.Mandate.Acceptance.Type type) The type of acceptance information included with the mandate. Eitheronline
oroffline
-
setUserAgent
The user agent of the browser from which the mandate was accepted or refused by the customer. -
setUserAgent
The user agent of the browser from which the mandate was accepted or refused by the customer.
-