pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.component.shop.checkout
Class OrderDetails.OrderDetailsBuilder

java.lang.Object
  extended by org.torweg.pulse.component.shop.checkout.OrderDetails.OrderDetailsBuilder
Enclosing class:
OrderDetails

public static class OrderDetails.OrderDetailsBuilder
extends java.lang.Object

The OrderDetailsBuilder.

Version:
$Revision$
Author:
Christian Schatt

Constructor Summary
OrderDetails.OrderDetailsBuilder()
          The no-argument constructor used for processing forms.
OrderDetails.OrderDetailsBuilder(boolean nof)
          Creates a new OrderDetailsBuilder from the given net-order-flag.
 
Method Summary
 OrderDetails build()
          Builds new OrderDetails.
 java.lang.String getAnnotation()
          Returns the annotation.
 boolean isCancellationPolicyAccepted()
          Returns the cancellation-policy-accepted-flag, indicating whether the user has accepted the cancellation policy.
 boolean isLegalNoticeAccepted()
          Returns the legal-notice-accepted-flag, indicating whether the user has accepted the legal notice.
 boolean isNetOrder()
          Returns the net-order-flag, indicating whether the order is a net order.
 boolean isPrivacyStatementAccepted()
          Returns the privacy-statement-accepted-flag, indicating whether the user has accepted the privacy statement.
 boolean isTermsAndConditionsAccepted()
          Returns the terms-and-conditions-accepted-flag, indicating whether the user has accepted the terms and conditions.
 void setAnnotation(java.lang.String a)
          Sets the annotation.
 void setCancellationPolicyAccepted(boolean cpaf)
          Sets the cancellation-policy-accepted-flag, indicating whether the user has accepted the cancellation policy.
 void setLegalNoticeAccepted(boolean lnaf)
          Sets the legal-notice-accepted-flag, indicating whether the user has accepted the legal notice.
 void setNetOrder(boolean nof)
          Sets the net-order-flag, indicating whether the order is a net order.
 void setPrivacyStatementAccepted(boolean psaf)
          Sets the privacy-statement-accepted-flag, indicating whether the user has accepted the privacy statement.
 void setTermsAndConditionsAccepted(boolean tacaf)
          Sets the terms-and-conditions-accepted-flag, indicating whether the user has accepted the terms and conditions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrderDetails.OrderDetailsBuilder

public OrderDetails.OrderDetailsBuilder()
The no-argument constructor used for processing forms.


OrderDetails.OrderDetailsBuilder

public OrderDetails.OrderDetailsBuilder(boolean nof)
Creates a new OrderDetailsBuilder from the given net-order-flag.

Parameters:
nof - the net-order-flag.
Method Detail

isNetOrder

public final boolean isNetOrder()
Returns the net-order-flag, indicating whether the order is a net order.

Returns:
the net-order-flag.

setNetOrder

public final void setNetOrder(boolean nof)
Sets the net-order-flag, indicating whether the order is a net order.

Parameters:
nof - the net-order-flag to set.

isLegalNoticeAccepted

public final boolean isLegalNoticeAccepted()
Returns the legal-notice-accepted-flag, indicating whether the user has accepted the legal notice.

Returns:
the legal-notice-accepted-flag.

setLegalNoticeAccepted

public final void setLegalNoticeAccepted(boolean lnaf)
Sets the legal-notice-accepted-flag, indicating whether the user has accepted the legal notice.

Parameters:
lnaf - the legal-notice-accepted-flag to set.

isTermsAndConditionsAccepted

public final boolean isTermsAndConditionsAccepted()
Returns the terms-and-conditions-accepted-flag, indicating whether the user has accepted the terms and conditions.

Returns:
the terms-and-conditions-accepted-flag.

setTermsAndConditionsAccepted

public final void setTermsAndConditionsAccepted(boolean tacaf)
Sets the terms-and-conditions-accepted-flag, indicating whether the user has accepted the terms and conditions.

Parameters:
tacaf - the terms-and-conditions-accepted-flag to set.

isCancellationPolicyAccepted

public final boolean isCancellationPolicyAccepted()
Returns the cancellation-policy-accepted-flag, indicating whether the user has accepted the cancellation policy.

Returns:
the cancellation-policy-accepted-flag.

setCancellationPolicyAccepted

public final void setCancellationPolicyAccepted(boolean cpaf)
Sets the cancellation-policy-accepted-flag, indicating whether the user has accepted the cancellation policy.

Parameters:
cpaf - the cancellation-policy-accepted-flag to set.

isPrivacyStatementAccepted

public final boolean isPrivacyStatementAccepted()
Returns the privacy-statement-accepted-flag, indicating whether the user has accepted the privacy statement.

Returns:
the privacy-statement-accepted-flag.

setPrivacyStatementAccepted

public final void setPrivacyStatementAccepted(boolean psaf)
Sets the privacy-statement-accepted-flag, indicating whether the user has accepted the privacy statement.

Parameters:
psaf - the privacy-statement-accepted-flag to set.

getAnnotation

public final java.lang.String getAnnotation()
Returns the annotation.

Returns:
the annotation.

setAnnotation

public final void setAnnotation(java.lang.String a)
Sets the annotation.

Parameters:
a - the annotation to set.

build

public final OrderDetails build()
Builds new OrderDetails.

Returns:
the new OrderDetails.