accept [:collection_method, :billing_cycle_anchor, :customer, :payment_method]
validate present([:collection_method, :customer])
validate present(:payment_method),
where: [argument_equals(:collection_method, :charge_automatically)],
message: "payment_method is required when collection method is charge_automatically"
accept [:collection_method, :billing_cycle_anchor, :customer, :payment_method]
validate present([:collection_method, :customer])
validate present(:payment_method),
where: [argument_equals(:collection_method, :charge_automatically)],
message: "payment_method is required when collection method is charge_automatically"