com.sun.j2ee.blueprints.ui.shopping
Class BuyNowPostData

java.lang.Object
  extended bycom.sun.j2ee.blueprints.ui.shopping.BuyNowPostData
All Implemented Interfaces:
java.io.Serializable

public class BuyNowPostData
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
BuyNowPostData()
          Creates a new instance of BuyNowPostData
 
Method Summary
 java.math.BigDecimal getAdditionalItemShippingCost()
          Returns the cost of shipping each additional item.
 java.lang.String getContinueLabel()
          Returns the text for the Continue button on the PayPal Payment Complete page This property is an alias for Pay Pal attribute cbt.
 java.lang.String getCurrencyCode()
          Returns the currency in which the monetary variables are denoted This property is an alias for Pay Pal attribute currency_code
 java.lang.String getFirstOptionFieldName()
          Returns first option field name.
 java.math.BigDecimal getHandlingCost()
          Returns the handling charges.
 java.lang.String getHeaderBgColor()
          Returns the background color for the header of the payment page.
 java.lang.String getHeaderBorderColor()
          Returns the border color around the header of the payment page.
 java.lang.String getHeaderPayFlowColor()
          Returns the background color for the payment page below the header.
 java.lang.String getInvoiceNumber()
          Returns the passthrough variable you can use to identify your invoice number for this purchase.
 java.lang.String getItemNumber()
          Returns the value of itemNumber.
 java.lang.String getNoteFieldLabel()
          Returns the label above the note field.
 java.lang.String getPageStyle()
          Returns the Custom Payment Page Style for payment pages associated with the BuyNow button.
 java.lang.String getPaymentPageBgColor()
          Returns the background color of your payment pages.
 java.lang.String getPaymentPageHeaderImage()
          Returns the image at the top left of the payment page.
 java.lang.String getPromptPaymentNote()
          Returns whether to prompt customer to include a note with payment This property is an alias for Pay Pal attribute no_note.
 java.lang.String getPromptShippingAddress()
          Returns whether to prompt customer for shipping address.
 java.lang.String getSecondOptionFieldName()
          Returns second option field name.
 java.math.BigDecimal getShippingCost()
          Returns the cost of shipping an item if you have enabled item-specific shipping costs.
 java.lang.String getSubmissionMethod()
          Returns the return method GET or POST This property is an alias for Pay Pal attribute rm
 java.math.BigDecimal getTax()
          Returns transaction-based tax override variable This property is an alias for Pay Pal attribute tax
 java.lang.String getUndefinedQuantity()
          Returns whether to allows buyer to specify the quantity.
 void setAdditionalItemShippingCost(java.math.BigDecimal additionalItemShippingCost)
          Sets the cost of shipping each additional item.
 void setContinueLabel(java.lang.String continueLabel)
          Sets the text for the Continue button on the PayPal Payment Complete page This property is an alias for Pay Pal attribute cbt.
 void setCurrencyCode(java.lang.String currencyCode)
          Sets the currency in which the monetary variables are denoted This property is an alias for Pay Pal attribute currency_code
 void setFirstOptionFieldName(java.lang.String firstOptionFieldName)
          Sets the first option field name.
 void setHandlingCost(java.math.BigDecimal handlingCost)
          Sets the handling charges.
 void setHeaderBgColor(java.lang.String headerBgColor)
          Sets the background color for the header of the payment page.
 void setHeaderBorderColor(java.lang.String headerBorderColor)
          Sets the border color around the header of the payment page.
 void setHeaderPayFlowColor(java.lang.String headerPayFlowColor)
          Sets the background color for the payment page below the header.
 void setInvoiceNumber(java.lang.String invoiceNumber)
          Sets the passthrough variable you can use to identify your invoice number for this purchase.
 void setItemNumber(java.lang.String itemNumber)
          Sets the value of itemNumber.
 void setNoteFieldLabel(java.lang.String noteFieldLabel)
          Sets the label above the note field.
 void setPageStyle(java.lang.String pageStyle)
          Sets the Custom Payment Page Style for payment pages associated with the BuyNow button.
 void setPaymentPageBgColor(java.lang.String paymentPageBgColor)
          Sets the background color of your payment pages.
 void setPaymentPageHeaderImage(java.lang.String paymentPageHeaderImage)
          Sets the image at the top left of the payment page.
 void setPromptPaymentNote(java.lang.String promptPaymentNote)
          Sets whether to prompt customer to include a note with payment This property is an alias for Pay Pal attribute no_note.
 void setPromptShippingAddress(java.lang.String promptShippingAddress)
          Sets whether to prompt customer for shipping address.
 void setSecondOptionFieldName(java.lang.String secondOptionFieldName)
          Sets second option field name.
 void setShippingCost(java.math.BigDecimal shippingCost)
          Sets the cost of shipping an item if you have enabled item-specific shipping costs.
 void setSubmissionMethod(java.lang.String submissionMethod)
          Sets the return method GET or POST This property is an alias for Pay Pal attribute rm
 void setTax(java.math.BigDecimal tax)
          Sets transaction-based tax override variable This property is an alias for Pay Pal attribute tax
 void setUndefinedQuantity(java.lang.String undefinedQuantity)
          Sets whether to allows buyer to specify the quantity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuyNowPostData

public BuyNowPostData()
Creates a new instance of BuyNowPostData

Method Detail

getItemNumber

public java.lang.String getItemNumber()
Returns the value of itemNumber. This is a passthrough variable for you to track purchases or donations,passed back to you at payment completion.


setItemNumber

public void setItemNumber(java.lang.String itemNumber)
Sets the value of itemNumber. This is a passthrough variable for you to track purchases or donations,passed back to you at payment completion. Passing a non null value to this method will cause the field to be posted to PayPal. This property is an alias for Pay Pal attribute item_number.


getUndefinedQuantity

public java.lang.String getUndefinedQuantity()
Returns whether to allows buyer to specify the quantity. This property is an alias for Pay Pal attribute undefined_quantity.


setUndefinedQuantity

public void setUndefinedQuantity(java.lang.String undefinedQuantity)
Sets whether to allows buyer to specify the quantity. This property is an alias for Pay Pal attribute undefined_quantity. Passing a non null value to this method will cause the field to be posted to PayPal.


getFirstOptionFieldName

public java.lang.String getFirstOptionFieldName()
Returns first option field name. If omitted, no variable is passed back to you. This property is an alias for Pay Pal attribute on0.


setFirstOptionFieldName

public void setFirstOptionFieldName(java.lang.String firstOptionFieldName)
Sets the first option field name. If omitted, no variable is passed back to you. This property is an alias for Pay Pal attribute on0.


getSecondOptionFieldName

public java.lang.String getSecondOptionFieldName()
Returns second option field name. If omitted, no variable is passed back to you. This property is an alias for Pay Pal attribute on1.


setSecondOptionFieldName

public void setSecondOptionFieldName(java.lang.String secondOptionFieldName)
Sets second option field name. If omitted, no variable is passed back to you. This property is an alias for Pay Pal attribute on1.


getContinueLabel

public java.lang.String getContinueLabel()
Returns the text for the Continue button on the PayPal Payment Complete page This property is an alias for Pay Pal attribute cbt.


setContinueLabel

public void setContinueLabel(java.lang.String continueLabel)
Sets the text for the Continue button on the PayPal Payment Complete page This property is an alias for Pay Pal attribute cbt.


getNoteFieldLabel

public java.lang.String getNoteFieldLabel()
Returns the label above the note field. This property is an alias for Pay Pal attribute cn.


setNoteFieldLabel

public void setNoteFieldLabel(java.lang.String noteFieldLabel)
Sets the label above the note field. This property is an alias for Pay Pal attribute cn.


getPaymentPageHeaderImage

public java.lang.String getPaymentPageHeaderImage()
Returns the image at the top left of the payment page. Maximum size 750 pixels wide by 90 pixels high. This property is an alias for Pay Pal attribute cpp_header_image.


setPaymentPageHeaderImage

public void setPaymentPageHeaderImage(java.lang.String paymentPageHeaderImage)
Sets the image at the top left of the payment page. Maximum size 750 pixels wide by 90 pixels high. This property is an alias for Pay Pal attribute cpp_header_image.


getHeaderBgColor

public java.lang.String getHeaderBgColor()
Returns the background color for the header of the payment page. This property is an alias for Pay Pal attribute cpp_headerback_color.


setHeaderBgColor

public void setHeaderBgColor(java.lang.String headerBgColor)
Sets the background color for the header of the payment page. This property is an alias for Pay Pal attribute cpp_headerback_color.


getHeaderBorderColor

public java.lang.String getHeaderBorderColor()
Returns the border color around the header of the payment page. This property is an alias for Pay Pal attribute cpp_headerback_color.


setHeaderBorderColor

public void setHeaderBorderColor(java.lang.String headerBorderColor)
Sets the border color around the header of the payment page. This property is an alias for Pay Pal attribute cpp_headerborder_color.


getHeaderPayFlowColor

public java.lang.String getHeaderPayFlowColor()
Returns the background color for the payment page below the header. This property is an alias for Pay Pal attribute cpp_payflow_color.


setHeaderPayFlowColor

public void setHeaderPayFlowColor(java.lang.String headerPayFlowColor)
Sets the background color for the payment page below the header. This property is an alias for Pay Pal attribute cpp_payflow_color.


getPaymentPageBgColor

public java.lang.String getPaymentPageBgColor()
Returns the background color of your payment pages. This property is an alias for Pay Pal attribute cs.


setPaymentPageBgColor

public void setPaymentPageBgColor(java.lang.String paymentPageBgColor)
Sets the background color of your payment pages. This property is an alias for Pay Pal attribute cs.


getPromptPaymentNote

public java.lang.String getPromptPaymentNote()
Returns whether to prompt customer to include a note with payment This property is an alias for Pay Pal attribute no_note.


setPromptPaymentNote

public void setPromptPaymentNote(java.lang.String promptPaymentNote)
Sets whether to prompt customer to include a note with payment This property is an alias for Pay Pal attribute no_note. Passing a non null value to this method will cause the field to be posted to PayPal.


getPromptShippingAddress

public java.lang.String getPromptShippingAddress()
Returns whether to prompt customer for shipping address. This property is an alias for Pay Pal attribute no_shipping


setPromptShippingAddress

public void setPromptShippingAddress(java.lang.String promptShippingAddress)
Sets whether to prompt customer for shipping address. This property is an alias for Pay Pal attribute no_shipping Passing a non null value to this method will cause the field to be posted to PayPal.


getPageStyle

public java.lang.String getPageStyle()
Returns the Custom Payment Page Style for payment pages associated with the BuyNow button. This property is an alias for Pay Pal attribute page_style


setPageStyle

public void setPageStyle(java.lang.String pageStyle)
Sets the Custom Payment Page Style for payment pages associated with the BuyNow button. This property is an alias for Pay Pal attribute page_style


getSubmissionMethod

public java.lang.String getSubmissionMethod()
Returns the return method GET or POST This property is an alias for Pay Pal attribute rm


setSubmissionMethod

public void setSubmissionMethod(java.lang.String submissionMethod)
Sets the return method GET or POST This property is an alias for Pay Pal attribute rm


getCurrencyCode

public java.lang.String getCurrencyCode()
Returns the currency in which the monetary variables are denoted This property is an alias for Pay Pal attribute currency_code


setCurrencyCode

public void setCurrencyCode(java.lang.String currencyCode)
Sets the currency in which the monetary variables are denoted This property is an alias for Pay Pal attribute currency_code


getHandlingCost

public java.math.BigDecimal getHandlingCost()
Returns the handling charges. This is not quantity-specific This property is an alias for Pay Pal attribute handling


setHandlingCost

public void setHandlingCost(java.math.BigDecimal handlingCost)
Sets the handling charges. This is not quantity-specific This property is an alias for Pay Pal attribute handling


getInvoiceNumber

public java.lang.String getInvoiceNumber()
Returns the passthrough variable you can use to identify your invoice number for this purchase. This property is an alias for Pay Pal attribute invoice


setInvoiceNumber

public void setInvoiceNumber(java.lang.String invoiceNumber)
Sets the passthrough variable you can use to identify your invoice number for this purchase. This property is an alias for Pay Pal attribute invoice


getShippingCost

public java.math.BigDecimal getShippingCost()
Returns the cost of shipping an item if you have enabled item-specific shipping costs. This property is an alias for Pay Pal attribute shipping


setShippingCost

public void setShippingCost(java.math.BigDecimal shippingCost)
Sets the cost of shipping an item if you have enabled item-specific shipping costs. This property is an alias for Pay Pal attribute shipping


getAdditionalItemShippingCost

public java.math.BigDecimal getAdditionalItemShippingCost()
Returns the cost of shipping each additional item. This property is an alias for Pay Pal attribute shipping2


setAdditionalItemShippingCost

public void setAdditionalItemShippingCost(java.math.BigDecimal additionalItemShippingCost)
Sets the cost of shipping each additional item. This property is an alias for Pay Pal attribute shipping2


getTax

public java.math.BigDecimal getTax()
Returns transaction-based tax override variable This property is an alias for Pay Pal attribute tax


setTax

public void setTax(java.math.BigDecimal tax)
Sets transaction-based tax override variable This property is an alias for Pay Pal attribute tax