Class EnhancedData.CommonData.TaxData.Builder
-
- All Implemented Interfaces:
public final class EnhancedData.CommonData.TaxData.BuilderA builder for TaxData.
-
-
Method Summary
-
-
Method Detail
-
amount
final EnhancedData.CommonData.TaxData.Builder amount(Long amount)
The amount of tax collected.
-
amount
final EnhancedData.CommonData.TaxData.Builder amount(JsonField<Long> amount)
Sets Builder.amount to an arbitrary JSON value.
You should usually call Builder.amount with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
exempt
final EnhancedData.CommonData.TaxData.Builder exempt(EnhancedData.CommonData.TaxData.TaxExemptIndicator exempt)
A flag indicating whether the transaction is tax exempt or not.
-
exempt
final EnhancedData.CommonData.TaxData.Builder exempt(JsonField<EnhancedData.CommonData.TaxData.TaxExemptIndicator> exempt)
Sets Builder.exempt to an arbitrary JSON value.
You should usually call Builder.exempt with a well-typed TaxExemptIndicator value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
merchantTaxId
final EnhancedData.CommonData.TaxData.Builder merchantTaxId(String merchantTaxId)
The tax ID of the merchant.
-
merchantTaxId
final EnhancedData.CommonData.TaxData.Builder merchantTaxId(JsonField<String> merchantTaxId)
Sets Builder.merchantTaxId to an arbitrary JSON value.
You should usually call Builder.merchantTaxId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final EnhancedData.CommonData.TaxData.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final EnhancedData.CommonData.TaxData.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final EnhancedData.CommonData.TaxData.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final EnhancedData.CommonData.TaxData.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final EnhancedData.CommonData.TaxData.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final EnhancedData.CommonData.TaxData build()
Returns an immutable instance of TaxData.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-