Package com.stripe.param
Class AccountUpdateParams.TosAcceptance.Builder
- java.lang.Object
-
- com.stripe.param.AccountUpdateParams.TosAcceptance.Builder
-
- Enclosing class:
- AccountUpdateParams.TosAcceptance
public static class AccountUpdateParams.TosAcceptance.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountUpdateParams.TosAcceptancebuild()Finalize and obtain parameter instance from this builder.AccountUpdateParams.TosAcceptance.BuilderputAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)Add all map key/value pairs to `extraParams` map.AccountUpdateParams.TosAcceptance.BuilderputExtraParam(java.lang.String key, java.lang.Object value)Add a key/value pair to `extraParams` map.AccountUpdateParams.TosAcceptance.BuildersetDate(java.lang.Long date)The Unix timestamp marking when the account representative accepted their service agreement.AccountUpdateParams.TosAcceptance.BuildersetIp(EmptyParam ip)The IP address from which the account representative accepted their service agreement.AccountUpdateParams.TosAcceptance.BuildersetIp(java.lang.String ip)The IP address from which the account representative accepted their service agreement.AccountUpdateParams.TosAcceptance.BuildersetServiceAgreement(EmptyParam serviceAgreement)The user's service agreement type.AccountUpdateParams.TosAcceptance.BuildersetServiceAgreement(java.lang.String serviceAgreement)The user's service agreement type.AccountUpdateParams.TosAcceptance.BuildersetUserAgent(EmptyParam userAgent)AccountUpdateParams.TosAcceptance.BuildersetUserAgent(java.lang.String userAgent)The user agent of the browser from which the account representative accepted their service agreement.
-
-
-
Method Detail
-
build
public AccountUpdateParams.TosAcceptance build()
Finalize and obtain parameter instance from this builder.
-
setDate
public AccountUpdateParams.TosAcceptance.Builder setDate(java.lang.Long date)
The Unix timestamp marking when the account representative accepted their service agreement.
-
putExtraParam
public AccountUpdateParams.TosAcceptance.Builder putExtraParam(java.lang.String key, java.lang.Object value)
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. SeeAccountUpdateParams.TosAcceptance.extraParamsfor the field documentation.
-
putAllExtraParam
public AccountUpdateParams.TosAcceptance.Builder putAllExtraParam(java.util.Map<java.lang.String,java.lang.Object> map)
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. SeeAccountUpdateParams.TosAcceptance.extraParamsfor the field documentation.
-
setIp
public AccountUpdateParams.TosAcceptance.Builder setIp(java.lang.String ip)
The IP address from which the account representative accepted their service agreement.
-
setIp
public AccountUpdateParams.TosAcceptance.Builder setIp(EmptyParam ip)
The IP address from which the account representative accepted their service agreement.
-
setServiceAgreement
public AccountUpdateParams.TosAcceptance.Builder setServiceAgreement(java.lang.String serviceAgreement)
The user's service agreement type.
-
setServiceAgreement
public AccountUpdateParams.TosAcceptance.Builder setServiceAgreement(EmptyParam serviceAgreement)
The user's service agreement type.
-
setUserAgent
public AccountUpdateParams.TosAcceptance.Builder setUserAgent(java.lang.String userAgent)
The user agent of the browser from which the account representative accepted their service agreement.
-
setUserAgent
public AccountUpdateParams.TosAcceptance.Builder setUserAgent(EmptyParam userAgent)
-
-