public final class Invoice
extends com.google.api.client.json.GenericJson
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 Campaign Manager 360 API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Invoice() |
Modifier and Type | Method and Description |
---|---|
Invoice |
clone() |
List<CampaignSummary> |
getCampaignSummaries()
The list of summarized campaign information associated with this invoice.
|
String |
getCorrectedInvoiceId()
The originally issued invoice that is being adjusted by this invoice, if applicable.
|
String |
getCurrencyCode()
Invoice currency code in ISO 4217 format.
|
String |
getDueDate()
The invoice due date.
|
String |
getId()
ID of this invoice.
|
String |
getInvoiceType()
The type of invoice document.
|
String |
getIssueDate()
The date when the invoice was issued.
|
String |
getKind()
Identifies what kind of resource this is.
|
String |
getPaymentsAccountId()
The ID of the payments account the invoice belongs to.
|
String |
getPaymentsProfileId()
The ID of the payments profile the invoice belongs to.
|
String |
getPdfUrl()
The URL to download a PDF copy of the invoice.
|
String |
getPurchaseOrderNumber()
Purchase order number associated with the invoice.
|
List<String> |
getReplacedInvoiceIds()
The originally issued invoice(s) that is being cancelled by this invoice, if applicable.
|
String |
getServiceEndDate()
The invoice service end date.
|
String |
getServiceStartDate()
The invoice service start date.
|
Long |
getSubtotalAmountMicros()
The pre-tax subtotal amount, in micros of the invoice's currency.
|
Long |
getTotalAmountMicros()
The invoice total amount, in micros of the invoice's currency.
|
Long |
getTotalTaxAmountMicros()
The sum of all taxes in invoice, in micros of the invoice's currency.
|
Invoice |
set(String fieldName,
Object value) |
Invoice |
setCampaignSummaries(List<CampaignSummary> campaignSummaries)
The list of summarized campaign information associated with this invoice.
|
Invoice |
setCorrectedInvoiceId(String correctedInvoiceId)
The originally issued invoice that is being adjusted by this invoice, if applicable.
|
Invoice |
setCurrencyCode(String currencyCode)
Invoice currency code in ISO 4217 format.
|
Invoice |
setDueDate(String dueDate)
The invoice due date.
|
Invoice |
setId(String id)
ID of this invoice.
|
Invoice |
setInvoiceType(String invoiceType)
The type of invoice document.
|
Invoice |
setIssueDate(String issueDate)
The date when the invoice was issued.
|
Invoice |
setKind(String kind)
Identifies what kind of resource this is.
|
Invoice |
setPaymentsAccountId(String paymentsAccountId)
The ID of the payments account the invoice belongs to.
|
Invoice |
setPaymentsProfileId(String paymentsProfileId)
The ID of the payments profile the invoice belongs to.
|
Invoice |
setPdfUrl(String pdfUrl)
The URL to download a PDF copy of the invoice.
|
Invoice |
setPurchaseOrderNumber(String purchaseOrderNumber)
Purchase order number associated with the invoice.
|
Invoice |
setReplacedInvoiceIds(List<String> replacedInvoiceIds)
The originally issued invoice(s) that is being cancelled by this invoice, if applicable.
|
Invoice |
setServiceEndDate(String serviceEndDate)
The invoice service end date.
|
Invoice |
setServiceStartDate(String serviceStartDate)
The invoice service start date.
|
Invoice |
setSubtotalAmountMicros(Long subtotalAmountMicros)
The pre-tax subtotal amount, in micros of the invoice's currency.
|
Invoice |
setTotalAmountMicros(Long totalAmountMicros)
The invoice total amount, in micros of the invoice's currency.
|
Invoice |
setTotalTaxAmountMicros(Long totalTaxAmountMicros)
The sum of all taxes in invoice, in micros of the invoice's currency.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public List<CampaignSummary> getCampaignSummaries()
null
for nonepublic Invoice setCampaignSummaries(List<CampaignSummary> campaignSummaries)
campaignSummaries
- campaignSummaries or null
for nonepublic String getCorrectedInvoiceId()
null
for nonepublic Invoice setCorrectedInvoiceId(String correctedInvoiceId)
correctedInvoiceId
- correctedInvoiceId or null
for nonepublic String getCurrencyCode()
null
for nonepublic Invoice setCurrencyCode(String currencyCode)
currencyCode
- currencyCode or null
for nonepublic String getDueDate()
null
for nonepublic Invoice setDueDate(String dueDate)
dueDate
- dueDate or null
for nonepublic String getId()
null
for nonepublic String getInvoiceType()
null
for nonepublic Invoice setInvoiceType(String invoiceType)
invoiceType
- invoiceType or null
for nonepublic String getIssueDate()
null
for nonepublic Invoice setIssueDate(String issueDate)
issueDate
- issueDate or null
for nonepublic String getKind()
null
for nonepublic Invoice setKind(String kind)
kind
- kind or null
for nonepublic String getPaymentsAccountId()
null
for nonepublic Invoice setPaymentsAccountId(String paymentsAccountId)
paymentsAccountId
- paymentsAccountId or null
for nonepublic String getPaymentsProfileId()
null
for nonepublic Invoice setPaymentsProfileId(String paymentsProfileId)
paymentsProfileId
- paymentsProfileId or null
for nonepublic String getPdfUrl()
null
for nonepublic Invoice setPdfUrl(String pdfUrl)
pdfUrl
- pdfUrl or null
for nonepublic String getPurchaseOrderNumber()
null
for nonepublic Invoice setPurchaseOrderNumber(String purchaseOrderNumber)
purchaseOrderNumber
- purchaseOrderNumber or null
for nonepublic List<String> getReplacedInvoiceIds()
null
for nonepublic Invoice setReplacedInvoiceIds(List<String> replacedInvoiceIds)
replacedInvoiceIds
- replacedInvoiceIds or null
for nonepublic String getServiceEndDate()
null
for nonepublic Invoice setServiceEndDate(String serviceEndDate)
serviceEndDate
- serviceEndDate or null
for nonepublic String getServiceStartDate()
null
for nonepublic Invoice setServiceStartDate(String serviceStartDate)
serviceStartDate
- serviceStartDate or null
for nonepublic Long getSubtotalAmountMicros()
null
for nonepublic Invoice setSubtotalAmountMicros(Long subtotalAmountMicros)
subtotalAmountMicros
- subtotalAmountMicros or null
for nonepublic Long getTotalAmountMicros()
null
for nonepublic Invoice setTotalAmountMicros(Long totalAmountMicros)
totalAmountMicros
- totalAmountMicros or null
for nonepublic Long getTotalTaxAmountMicros()
null
for nonepublic Invoice setTotalTaxAmountMicros(Long totalTaxAmountMicros)
totalTaxAmountMicros
- totalTaxAmountMicros or null
for nonepublic Invoice set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Invoice clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.