• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

About Milleage Account

 
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When a booked flight is paid using a mileage account, should we add a control class on diagram showing what/when put points to my milleage account or not?

e.g: when i buy a flight ticket with a credit card i earned mile, when i buy using mileage account i should earn too?

thanks
 
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Mileage should be debted the points that you have used. Buying ticket mileage account would mean that you are using your mileage points.

As far creating a controlling class goes, it depends how you plan to do it. If Mileage Account is an entity bean then you can as well use a StateLess Session Bean to debt it. As per my understanding accessing mileage account - either for points balance or for debting/reducing points based on purchase is a onetime thing. We do not need conversational state for that.


Thanks
 
Anderson Fonseca
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thanks s khosa,

but i wanna know when we should earn miles point either buying with credit card or using mileage account for debit. I be thinking if payment mode has relation to earn miles.
 
s khosa
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes. Payment via credit card would be the way to earn mileage points.

Thanks
 
Nothing? Or something? Like this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic