Subversion Repositories SmartDukaan

Rev

Rev 23417 | Rev 24440 | Go to most recent revision | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed

package com.spice.profitmandi.common.model;

import java.time.LocalDate;
import java.util.Set;

public class CreateOrderRequest {
        private CustomCustomer customer;
        private LocalDate customerDateOfBirth;
        private Set<CustomFofoOrderItem> fofoOrderItems;
        private Set<CustomPaymentOption> paymentOptions;
        public void setCustomer(CustomCustomer customer) {
                this.customer = customer;
        }
        public CustomCustomer getCustomer() {
                return customer;
        }
        public void setCustomerDateOfBirth(LocalDate customerDateOfBirth) {
                this.customerDateOfBirth = customerDateOfBirth;
        }
        public LocalDate getCustomerDateOfBirth() {
                return customerDateOfBirth;
        }
        
        public Set<CustomFofoOrderItem> getFofoOrderItems() {
                return fofoOrderItems;
        }
        public void setFofoOrderItems(Set<CustomFofoOrderItem> fofoLineItems) {
                this.fofoOrderItems = fofoLineItems;
        }
        public Set<CustomPaymentOption> getPaymentOptions() {
                return paymentOptions;
        }
        public void setPaymentOptions(Set<CustomPaymentOption> paymentOptions) {
                this.paymentOptions = paymentOptions;
        }
        
        @Override
        public String toString() {
                return "CreateOrderRequest [customer=" + customer + ", customerDateOfBirth=" + customerDateOfBirth
                                + ", fofoOrderItems=" + fofoOrderItems + ", paymentOptions=" + paymentOptions + "]";
        }
        
}