")
- .salesReceipt(SalesReceiptInput.builder()
- .totalAmount(49.99)
+ .salesReceiptUpdateInput(SalesReceiptUpdateInput.builder()
.number("SR-00001")
.customer(LinkedCustomerInput.builder()
.id("12345")
@@ -450,6 +449,7 @@ public class Application {
.currencyRate(0.69)
.taxInclusive(true)
.subTotal(250d)
+ .totalAmount(49.99)
.totalTax(25d)
.transactionDate(OffsetDateTime.parse("2021-05-01T12:00:00.000Z"))
.paymentMethod("cash")
diff --git a/gradle.properties b/gradle.properties
index fa0d12c68..ebe783177 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,4 +1,4 @@
groupId=com.apideck
artifactId=unify
-version=0.52.0
+version=0.53.0
org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=1g
diff --git a/src/main/java/com/apideck/unify/SDKConfiguration.java b/src/main/java/com/apideck/unify/SDKConfiguration.java
index 44509c0eb..7196123ad 100644
--- a/src/main/java/com/apideck/unify/SDKConfiguration.java
+++ b/src/main/java/com/apideck/unify/SDKConfiguration.java
@@ -20,8 +20,8 @@
public class SDKConfiguration {
private static final String LANGUAGE = "java";
- public static final String OPENAPI_DOC_VERSION = "10.76.0";
- public static final String SDK_VERSION = "0.52.0";
+ public static final String OPENAPI_DOC_VERSION = "10.77.0";
+ public static final String SDK_VERSION = "0.53.0";
public static final String GEN_VERSION = "2.956.1";
private static final String BASE_PACKAGE = "com.apideck.unify";
public static final String USER_AGENT =
diff --git a/src/main/java/com/apideck/unify/models/components/BillPaymentUpdateInput.java b/src/main/java/com/apideck/unify/models/components/BillPaymentUpdateInput.java
new file mode 100644
index 000000000..c5ade824b
--- /dev/null
+++ b/src/main/java/com/apideck/unify/models/components/BillPaymentUpdateInput.java
@@ -0,0 +1,1423 @@
+/*
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
+ */
+package com.apideck.unify.models.components;
+
+import com.apideck.unify.utils.Utils;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude.Include;
+import com.fasterxml.jackson.annotation.JsonInclude;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import java.lang.Boolean;
+import java.lang.Double;
+import java.lang.Override;
+import java.lang.String;
+import java.lang.SuppressWarnings;
+import java.time.OffsetDateTime;
+import java.util.List;
+import java.util.Optional;
+import org.openapitools.jackson.nullable.JsonNullable;
+
+/**
+ * BillPaymentUpdateInput
+ *
+ * The writable shape of BillPayment for a single-record update. Identical to the model with the
+ * read-only properties removed and no required properties, because PATCH is partial and the API
+ * already validates it that way.
+ */
+public class BillPaymentUpdateInput {
+ /**
+ * Indicates the associated currency for an amount of money. Values correspond to [ISO
+ * 4217](https://en.wikipedia.org/wiki/ISO_4217).
+ */
+ @JsonInclude(Include.NON_ABSENT)
+ @JsonProperty("currency")
+ private JsonNullable extends Currency> currency;
+
+ /**
+ * Currency Exchange Rate at the time entity was recorded/generated.
+ */
+ @JsonInclude(Include.NON_ABSENT)
+ @JsonProperty("currency_rate")
+ private JsonNullable currencyRate;
+
+ /**
+ * The total amount of the transaction or record
+ */
+ @JsonInclude(Include.NON_ABSENT)
+ @JsonProperty("total_amount")
+ private JsonNullable totalAmount;
+
+ /**
+ * Optional transaction reference message ie: Debit remittance detail.
+ */
+ @JsonInclude(Include.NON_ABSENT)
+ @JsonProperty("reference")
+ private JsonNullable reference;
+
+ /**
+ * Payment method used for the transaction, such as cash, credit card, bank transfer, or check
+ */
+ @JsonInclude(Include.NON_ABSENT)
+ @JsonProperty("payment_method")
+ private JsonNullable paymentMethod;
+
+ /**
+ * Optional reference message returned by payment method on processing
+ */
+ @JsonInclude(Include.NON_ABSENT)
+ @JsonProperty("payment_method_reference")
+ private JsonNullable paymentMethodReference;
+
+ /**
+ * A unique identifier for an object.
+ */
+ @JsonInclude(Include.NON_ABSENT)
+ @JsonProperty("payment_method_id")
+ private JsonNullable paymentMethodId;
+
+
+ @JsonInclude(Include.NON_ABSENT)
+ @JsonProperty("account")
+ private JsonNullable extends LinkedLedgerAccount> account;
+
+ /**
+ * The date of the transaction - YYYY:MM::DDThh:mm:ss.sTZD
+ */
+ @JsonInclude(Include.NON_ABSENT)
+ @JsonProperty("transaction_date")
+ private JsonNullable