Class DistributionCreateParams.Payment.Entity.NewEntityInput.Builder
-
- All Implemented Interfaces:
public final class DistributionCreateParams.Payment.Entity.NewEntityInput.BuilderA builder for NewEntityInput.
-
-
Method Summary
-
-
Method Detail
-
name
final DistributionCreateParams.Payment.Entity.NewEntityInput.Builder name(String name)
Legal name of the entity
-
name
final DistributionCreateParams.Payment.Entity.NewEntityInput.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final DistributionCreateParams.Payment.Entity.NewEntityInput.Builder type(EntityType type)
-
type
final DistributionCreateParams.Payment.Entity.NewEntityInput.Builder type(JsonField<EntityType> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed EntityType value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
externalReferences
final DistributionCreateParams.Payment.Entity.NewEntityInput.Builder externalReferences(List<String> externalReferences)
Your own identifiers for this entity
-
externalReferences
final DistributionCreateParams.Payment.Entity.NewEntityInput.Builder externalReferences(JsonField<List<String>> externalReferences)
Sets Builder.externalReferences to an arbitrary JSON value.
You should usually call Builder.externalReferences with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addExternalReference
final DistributionCreateParams.Payment.Entity.NewEntityInput.Builder addExternalReference(String externalReference)
Adds a single String to externalReferences.
-
wireInfo
final DistributionCreateParams.Payment.Entity.NewEntityInput.Builder wireInfo(WireInfo wireInfo)
US ACH payment
-
wireInfo
final DistributionCreateParams.Payment.Entity.NewEntityInput.Builder wireInfo(JsonField<WireInfo> wireInfo)
Sets Builder.wireInfo to an arbitrary JSON value.
You should usually call Builder.wireInfo with a well-typed WireInfo value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
wireInfo
final DistributionCreateParams.Payment.Entity.NewEntityInput.Builder wireInfo(AchInfo ach)
Alias for calling wireInfo with
WireInfo.ofAch(ach).
-
wireInfo
final DistributionCreateParams.Payment.Entity.NewEntityInput.Builder wireInfo(DomesticWire domesticWire)
Alias for calling wireInfo with
WireInfo.ofDomesticWire(domesticWire).
-
wireInfo
final DistributionCreateParams.Payment.Entity.NewEntityInput.Builder wireInfo(InternationalWireInfo internationalWire)
Alias for calling wireInfo with
WireInfo.ofInternationalWire(internationalWire).
-
additionalProperties
final DistributionCreateParams.Payment.Entity.NewEntityInput.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final DistributionCreateParams.Payment.Entity.NewEntityInput.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final DistributionCreateParams.Payment.Entity.NewEntityInput.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final DistributionCreateParams.Payment.Entity.NewEntityInput.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final DistributionCreateParams.Payment.Entity.NewEntityInput.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final DistributionCreateParams.Payment.Entity.NewEntityInput build()
Returns an immutable instance of NewEntityInput.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.name() .type()
-
-
-
-