ChyroBroadcast / ftp-adm-api

Ftp Admin Backend
GNU Affero General Public License v3.0
0 stars 0 forks source link

IBAN and VAT number in table `Address` #5

Open enzzc opened 8 years ago

enzzc commented 8 years ago

IBAN and VAT number are part of an Address. So we have multiple IBANs and multiple VATs if a customer have more than one address. Why don't we put these fields into Customer instead? It makes sense that one customer is bind to his IBAN and VAT number, what addresses have to do with payment options?

wazoox commented 8 years ago

An address can be for a Customer's customer?

2015-12-11 14:46 GMT+01:00 Enzo Calamia notifications@github.com:

IBAN and VAT number are part of an Address. So we have multiple IBANs and multiple VATs if a customer have more than one address. Why don't we put these fields into Customer instead? It makes sense that one customer is bind to his IBAN and VAT number, what addresses have to do with payment options?

— Reply to this email directly or view it on GitHub https://github.com/ChyroBroadcast/ftp-adm-api/issues/5.

enzzc commented 8 years ago

I'm not sure I fully understand. Who may be a Customer A's customer? By customer A, I mean the guy who is paying for using Qlowd. This guy provides one IBAN and one VAT number, and eventually several addresses, this is the guy who is modeled by the table Customer, no?

wazoox commented 8 years ago

Maybe the Customer (let's say, a post house) wants to open ftp accounts for their own customers (let's say a film producer) which can be an entirely different company?

2015-12-11 17:42 GMT+01:00 Enzo Calamia notifications@github.com:

I'm not sure I fully understand. Who may be a Customer A's customer? By customer A, I mean the guy who is paying for using Qlowd. This guy provides one IBAN and one VAT number, and eventually several addresses, no?

— Reply to this email directly or view it on GitHub https://github.com/ChyroBroadcast/ftp-adm-api/issues/5#issuecomment-163986449 .

enzzc commented 8 years ago

Okay, I didn't know Qlowd was designed with subcontracting in mind, actually. But in this case, CustomerA's customers are not Qlowd's direct customers. They have to pay CustomerA to get a Qlowd User attached to CustomerA'a account, they can't bypass CustomerA, right?

wazoox commented 8 years ago

No they can't bypass CustomerA.

2015-12-11 18:44 GMT+01:00 Enzo Calamia notifications@github.com:

Okay, I didn't know Qlowd was designed with subcontracting in mind, actually. But in this case, CustomerA's customers are not Qlowd's direct customers. They have to pay CustomerA to get a Qlowd User attached to CustomerA'a account, they can't bypass CustomerA, right?

— Reply to this email directly or view it on GitHub https://github.com/ChyroBroadcast/ftp-adm-api/issues/5#issuecomment-164000865 .