public class LineItem extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
LINE_ITEM_PATH |
| Modifier | Constructor and Description |
|---|---|
protected |
LineItem() |
|
LineItem(String title) |
protected static final String LINE_ITEM_PATH
protected LineItem()
public LineItem(String title)
protected String toValueString()
protected String subscriptionValues()
public static ApruveResponse<List<LineItem>> getAll(String paymentRequestId)
public static ApruveResponse<? extends LineItem> get(String paymentRequestId, String lineItemId)
public String toJson()
public String getTitle()
public void setTitle(String title)
title - the title to setpublic Integer getAmountCents()
public void setAmountCents(Integer amountCents)
amountCents - the amountCents to setpublic Integer getPriceEachCents()
public void setPriceEachCents(Integer priceEachCents)
priceEachCents - the priceEachCents to setpublic Integer getQuantity()
public void setQuantity(Integer quantity)
quantity - the quantity to setpublic String getMerchantNotes()
public void setMerchantNotes(String merchantNotes)
public String getDescription()
public void setDescription(String description)
description - the description to setpublic String getVariantInfo()
public void setVariantInfo(String variantInfo)
variantInfo - the variantInfo to setpublic String getSku()
public void setSku(String sku)
sku - the sku to setpublic String getVendor()
public void setVendor(String vendor)
vendor - the vendor to setpublic URL getViewProductUrl()
public void setViewProductUrl(URL viewProductUrl)
viewProductUrl - the viewProductUrl to setpublic String getPlanCode()
public void setPlanCode(String planCode)
public URL getSubscriptionUrl()
public void setSubscriptionUrl(URL subscriptionUrl)
public URL getApiUrl()
public void setApiUrl(URL apiUrl)
public String getId()
public void setId(String id)
public String getPaymentRequestId()
public void setPaymentRequestId(String paymentRequestId)
Copyright © 2016. All rights reserved.