All Downloads are FREE. Search and download functionalities are using the official Maven repository.

biz.turnonline.ecosystem.bill.model.Bill Maven / Gradle / Ivy

/*
 * Copyright (c) 2020 TurnOnline.biz s.r.o.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/*
 * This code was generated by https://github.com/google/apis-client-generator/
 * (build: 2018-10-08 17:45:39 UTC)
 * on 2020-07-05 at 12:57:23 UTC
 * Modify at your own risk.
 */

package biz.turnonline.ecosystem.bill.model;

/**
 * Model definition for Bill.
 *
 * 

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the TurnOnline.biz Billing Processor. For a detailed * explanation see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ public final class Bill extends com.google.api.client.json.GenericJson { static { // hack to force ProGuard to consider Scan used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf( Scan.class ); } /** * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean approved; /** * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String billNumber; /** * The value may be {@code null}. */ @com.google.api.client.util.Key private com.google.api.client.util.DateTime createdDate; /** * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String currency; /** * The value may be {@code null}. */ @com.google.api.client.util.Key private com.google.api.client.util.DateTime dateOfIssue; /** * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String description; /** * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long id; /** * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List items; /** * The value may be {@code null}. */ @com.google.api.client.util.Key private com.google.api.client.util.DateTime modificationDate; /** * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List scans; /** * The value may be {@code null}. */ @com.google.api.client.util.Key private Supplier supplier; /** * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Double totalPrice; /** * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Double totalVat; /** * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Double totalVatBase; /** * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long transactionId; /** * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String type; /** * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List vatRows; /** * @return value or {@code null} for none */ public java.lang.Boolean getApproved() { return approved; } /** * @param approved approved or {@code null} for none */ public Bill setApproved( java.lang.Boolean approved ) { this.approved = approved; return this; } /** * @return value or {@code null} for none */ public java.lang.String getBillNumber() { return billNumber; } /** * @param billNumber billNumber or {@code null} for none */ public Bill setBillNumber( java.lang.String billNumber ) { this.billNumber = billNumber; return this; } /** * @return value or {@code null} for none */ public com.google.api.client.util.DateTime getCreatedDate() { return createdDate; } /** * @param createdDate createdDate or {@code null} for none */ public Bill setCreatedDate( com.google.api.client.util.DateTime createdDate ) { this.createdDate = createdDate; return this; } /** * @return value or {@code null} for none */ public java.lang.String getCurrency() { return currency; } /** * @param currency currency or {@code null} for none */ public Bill setCurrency( java.lang.String currency ) { this.currency = currency; return this; } /** * @return value or {@code null} for none */ public com.google.api.client.util.DateTime getDateOfIssue() { return dateOfIssue; } /** * @param dateOfIssue dateOfIssue or {@code null} for none */ public Bill setDateOfIssue( com.google.api.client.util.DateTime dateOfIssue ) { this.dateOfIssue = dateOfIssue; return this; } /** * @return value or {@code null} for none */ public java.lang.String getDescription() { return description; } /** * @param description description or {@code null} for none */ public Bill setDescription( java.lang.String description ) { this.description = description; return this; } /** * @return value or {@code null} for none */ public java.lang.Long getId() { return id; } /** * @param id id or {@code null} for none */ public Bill setId( java.lang.Long id ) { this.id = id; return this; } /** * @return value or {@code null} for none */ public java.util.List getItems() { return items; } /** * @param items items or {@code null} for none */ public Bill setItems( java.util.List items ) { this.items = items; return this; } /** * @return value or {@code null} for none */ public com.google.api.client.util.DateTime getModificationDate() { return modificationDate; } /** * @param modificationDate modificationDate or {@code null} for none */ public Bill setModificationDate( com.google.api.client.util.DateTime modificationDate ) { this.modificationDate = modificationDate; return this; } /** * @return value or {@code null} for none */ public java.util.List getScans() { return scans; } /** * @param scans scans or {@code null} for none */ public Bill setScans( java.util.List scans ) { this.scans = scans; return this; } /** * @return value or {@code null} for none */ public Supplier getSupplier() { return supplier; } /** * @param supplier supplier or {@code null} for none */ public Bill setSupplier( Supplier supplier ) { this.supplier = supplier; return this; } /** * @return value or {@code null} for none */ public java.lang.Double getTotalPrice() { return totalPrice; } /** * @param totalPrice totalPrice or {@code null} for none */ public Bill setTotalPrice( java.lang.Double totalPrice ) { this.totalPrice = totalPrice; return this; } /** * @return value or {@code null} for none */ public java.lang.Double getTotalVat() { return totalVat; } /** * @param totalVat totalVat or {@code null} for none */ public Bill setTotalVat( java.lang.Double totalVat ) { this.totalVat = totalVat; return this; } /** * @return value or {@code null} for none */ public java.lang.Double getTotalVatBase() { return totalVatBase; } /** * @param totalVatBase totalVatBase or {@code null} for none */ public Bill setTotalVatBase( java.lang.Double totalVatBase ) { this.totalVatBase = totalVatBase; return this; } /** * @return value or {@code null} for none */ public java.lang.Long getTransactionId() { return transactionId; } /** * @param transactionId transactionId or {@code null} for none */ public Bill setTransactionId( java.lang.Long transactionId ) { this.transactionId = transactionId; return this; } /** * @return value or {@code null} for none */ public java.lang.String getType() { return type; } /** * @param type type or {@code null} for none */ public Bill setType( java.lang.String type ) { this.type = type; return this; } /** * @return value or {@code null} for none */ public java.util.List getVatRows() { return vatRows; } /** * @param vatRows vatRows or {@code null} for none */ public Bill setVatRows( java.util.List vatRows ) { this.vatRows = vatRows; return this; } @Override public Bill set( String fieldName, Object value ) { return ( Bill ) super.set( fieldName, value ); } @Override public Bill clone() { return ( Bill ) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy