com.google.api.services.supportcases.model.WalletTransaction Maven / Gradle / Ivy
/*
* Copyright 2010 Google Inc.
*
* 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://code.google.com/p/google-apis-client-generator/
* (build: 2017-02-15 17:18:02 UTC)
* on 2017-04-18 at 23:41:09 UTC
* Modify at your own risk.
*/
package com.google.api.services.supportcases.model;
/**
* Model definition for WalletTransaction.
*
* 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 Google Support Cases Private API. For a detailed
* explanation see:
* http://code.google.com/p/google-http-java-client/wiki/JSON
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class WalletTransaction extends com.google.api.client.json.GenericJson {
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String creationTime;
/**
* 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
private java.lang.String instrument;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Boolean isAuthorizationHold;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private Money originalAmount;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String playSubscriptionId;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List productLinks;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String productVertical;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String qualityCap;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List splitTenders;
static {
// hack to force ProGuard to consider SplitTender used, since otherwise it would be stripped out
// see http://code.google.com/p/google-api-java-client/issues/detail?id=528
com.google.api.client.util.Data.nullOf(SplitTender.class);
}
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String status;
/**
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private TransactionIdentifier transactionId;
/**
* @return value or {@code null} for none
*/
public java.lang.String getCreationTime() {
return creationTime;
}
/**
* @param creationTime creationTime or {@code null} for none
*/
public WalletTransaction setCreationTime(java.lang.String creationTime) {
this.creationTime = creationTime;
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 WalletTransaction setDescription(java.lang.String description) {
this.description = description;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.String getInstrument() {
return instrument;
}
/**
* @param instrument instrument or {@code null} for none
*/
public WalletTransaction setInstrument(java.lang.String instrument) {
this.instrument = instrument;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.Boolean getIsAuthorizationHold() {
return isAuthorizationHold;
}
/**
* @param isAuthorizationHold isAuthorizationHold or {@code null} for none
*/
public WalletTransaction setIsAuthorizationHold(java.lang.Boolean isAuthorizationHold) {
this.isAuthorizationHold = isAuthorizationHold;
return this;
}
/**
* @return value or {@code null} for none
*/
public Money getOriginalAmount() {
return originalAmount;
}
/**
* @param originalAmount originalAmount or {@code null} for none
*/
public WalletTransaction setOriginalAmount(Money originalAmount) {
this.originalAmount = originalAmount;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.String getPlaySubscriptionId() {
return playSubscriptionId;
}
/**
* @param playSubscriptionId playSubscriptionId or {@code null} for none
*/
public WalletTransaction setPlaySubscriptionId(java.lang.String playSubscriptionId) {
this.playSubscriptionId = playSubscriptionId;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.util.List getProductLinks() {
return productLinks;
}
/**
* @param productLinks productLinks or {@code null} for none
*/
public WalletTransaction setProductLinks(java.util.List productLinks) {
this.productLinks = productLinks;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.String getProductVertical() {
return productVertical;
}
/**
* @param productVertical productVertical or {@code null} for none
*/
public WalletTransaction setProductVertical(java.lang.String productVertical) {
this.productVertical = productVertical;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.String getQualityCap() {
return qualityCap;
}
/**
* @param qualityCap qualityCap or {@code null} for none
*/
public WalletTransaction setQualityCap(java.lang.String qualityCap) {
this.qualityCap = qualityCap;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.util.List getSplitTenders() {
return splitTenders;
}
/**
* @param splitTenders splitTenders or {@code null} for none
*/
public WalletTransaction setSplitTenders(java.util.List splitTenders) {
this.splitTenders = splitTenders;
return this;
}
/**
* @return value or {@code null} for none
*/
public java.lang.String getStatus() {
return status;
}
/**
* @param status status or {@code null} for none
*/
public WalletTransaction setStatus(java.lang.String status) {
this.status = status;
return this;
}
/**
* @return value or {@code null} for none
*/
public TransactionIdentifier getTransactionId() {
return transactionId;
}
/**
* @param transactionId transactionId or {@code null} for none
*/
public WalletTransaction setTransactionId(TransactionIdentifier transactionId) {
this.transactionId = transactionId;
return this;
}
@Override
public WalletTransaction set(String fieldName, Object value) {
return (WalletTransaction) super.set(fieldName, value);
}
@Override
public WalletTransaction clone() {
return (WalletTransaction) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy