Closed minznerjosh closed 8 years ago
I assume all of these would be optional properties set on the body of POST /api/transactions
requests? And, by extension, would need to also be optional properties set on POST /api/payments
requests? And should application
default to 'selfie'
?
Yes to everything. You a genius.
@howardengelhart can you let me know what the exact column names will be for each of these new fields in the campfire db?
@leichter
targetUsers => view_target
cycleEnd => cycle_end
cycleStart => cycle_start
paymentPlanId => paymentplan_id
application => application
@howardengelhart thanks, also will that be the order of the columns? Picking up after description
?
sure.
These should be new columns in the transactions table:
targetUsers
: The number of user views that should be delivered for the transactioncycleEnd
: The date when the billing cycle ends for the transactioncycleStart
: The date when the billing cycle starts (should be the same as thecreated
timestamp)paymentPlanId
: Theid
of the payment plan the transaction was created forapplication
: The application the transaction was created for (showcase-apps
/selfie
/etc.)