private object WhenTrySetPaymentStatusForCourseBooking(ApiBookingSetPaymentStatusCommand command, SetupData setup) { RegisterFredOnTwoCourseSessionsInAaronOrakeiHolidayCamp9To15For3Days(setup); var json = JsonSerialiser.Serialise(command); var relativePath = string.Format("{0}/{1}", RelativePath, setup.FredOnAaronOrakeiHolidayCamp9To15For3Days.Id); return(WhenTrySetPaymentStatus(json, relativePath, setup)); }
private object WhenTrySetPaymentStatusForSessionBooking(ApiBookingSetPaymentStatusCommand command, SetupData setup) { RegisterFredOnStandaloneAaronOrakeiMiniRed14To15(setup); var json = JsonSerialiser.Serialise(command); var relativePath = string.Format("{0}/{1}", RelativePath, setup.FredOnAaronOrakeiMiniRed14To15.Id); return(WhenTrySetPaymentStatus(json, relativePath, setup)); }